#38180
09/28/2000 3:29 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Fixed! By Dave# and me! Files: forumdisplay.cgi About the hack: When a user posts their first message, this hack displays a blue folder by their post (instead of the red one). This will help newbies get noticed, and may encourage them to return and post more in the future. find the following code: $ThisURL = qq($NonCGIURL/$ExactPath/HTML/$threadinfo[1].html); } under it add: elsif ($TotalPosts == 1) { $FolderIcon = " "; } find: $TopicJulianDT = $threadinfo[0]; add: ##Newbie hack $ProfileNumber = &GetUserNumber($threadinfo[4]); if ($ProfileNumber ne "") { @thisprofile = &OpenProfile("$ProfileNumber.cgi"); $TotalPosts = $thisprofile[7]; } That's all you need to do. Need an image though. An image can be found at www.ubbhackers.com/icons.cgi ------------------ UBBDEV Moderator Read my BIO , Updated Every Month! This message has been edited by MasterMind on September 28, 2000 at 08:50 PM
|
|
|
#38181
09/28/2000 8:44 PM
|
Joined: Aug 2000
Posts: 29
Member
|
Member
Joined: Aug 2000
Posts: 29 |
What file is this and just to make sure, this is all we need to do to get this working?
|
|
|
#38182
09/28/2000 8:51 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Sorry. Forumdisplay.cgi. Yes, thats all their is too it. ------------------ UBBDEV Moderator Read my BIO , Updated Every Month!
|
|
|
#38183
09/28/2000 10:05 PM
|
Joined: Aug 2000
Posts: 29
Member
|
Member
Joined: Aug 2000
Posts: 29 |
Thank you, MM. I will give it a whirl!
|
|
|
#38184
09/28/2000 10:16 PM
|
Joined: Aug 2000
Posts: 29
Member
|
Member
Joined: Aug 2000
Posts: 29 |
Nope. Didn't work here. Got a general script error page. Couldn't load the forumdisplay file at all.
|
|
|
#38185
10/19/2000 6:27 AM
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
This is what my code looks like: Can I still add your great newbie hack to it? If so, how? Thanks for your time!
|
|
|
#38186
10/19/2000 6:26 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
I made a litle icon if someone wants it ------------------ I got also UBB hacks database
|
|
|
#38187
10/19/2000 7:36 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Hmm,
I think guys are right MM, is this for 5.47 or does it work with lower versions?
Cuz this $ThisURL = qq($NonCGIURL/$ExactPath/HTML/$threadinfo[1].html); } doesnt and with } , at least not right after the code
This message has been edited by -=SpAwN=- on October 19, 2000 at 07:39 PM
|
|
|
#38188
10/19/2000 7:39 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Remove the bracket if needed.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38189
10/19/2000 7:56 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Ok i found the way for my board Find this sub TopicGutsHTML { if ($PrivateMax eq "yes") { $ThisURL = qq($CGIURL/forumdisplay.cgi?action=displayprivate&number=$number&topic=$threadinfo[1]); } Add right after MM's code: elsif ($TotalPosts == 1) { $FolderIcon = " "; }
|
|
|
#38190
10/19/2000 8:28 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
And if you want the icon at the bottom of page with explanation you can do this: Find: A Closed thread - no new replies accepted. And replace with: A Closed thread - no new replies accepted. A newbie post (first post after register). I hope you dont mind MM with doing this... ------------------ I got also UBB hacks database
|
|
|
#38191
10/19/2000 8:30 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
can i see a demo? ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38192
10/19/2000 8:43 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
sure take a look here To see my litile addon scroll down plz
|
|
|
#38193
10/19/2000 9:06 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
it doesetn seem to work on mine...how did u get it to work with the ubbcount ish??? ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38194
10/19/2000 9:21 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
here download this to see the code what i used, but its still MM's code not mineThis message has been edited by -=SpAwN=- on October 21, 2000 at 06:03 AM
|
|
|
#38195
10/19/2000 9:23 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
kool thanx ill give it a try right now...1 sec ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38197
10/19/2000 9:28 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Great!
|
|
|
#38198
10/19/2000 9:37 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
thanx alot for the help ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38199
10/20/2000 3:15 PM
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Thank you so much for your help! It went in fine, now I'm just waiting for someone new to post. It was so great that you all were willing to help.
|
|
|
#38200
10/21/2000 8:27 AM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Nice work! Hey, is it possible to modify this so theirs a 'newbie' folder, but also a 'new replies in newbie' folder as well? Like the rest of the folders work? I think that would make this mod complete! What do you all think? ------------------ Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#38201
10/22/2000 1:55 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Ops found a bug If a new member post, you cant get into that post from forumdisplay.cgi But i can get in from Ultimate.cgi (with last post in Ultimate.cgi hack) And active topics I get this link from forumdisplay.cgi http://spawnboard.hypermart.net/ubb//HTML/000077.html Instead of http://spawnboard.hypermart.net/ubb/Forum1/HTML/000077.html So as you can see Forum1 is missing in the url ------------------ I got also UBB hacks databaseThis message has been edited by -=SpAwN=- on October 22, 2000 at 04:25 PM
|
|
|
#38202
10/22/2000 2:34 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Found the problem here is the compleet hack: And you can download the text file here ------------------ I got also UBB hacks database
|
|
|
#38203
10/22/2000 8:00 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
yo theres a conflict with this hack and...the non-ssi counter....and last post and everything...if someone could please get @ me.... ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38204
10/22/2000 10:59 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Hmmm, I didnt have any problems with the counters and last thread hacks, but i'll look on it if i get home. But i dont promise nothing... ------------------ I got also UBB hacks database
|
|
|
#38205
10/23/2000 2:30 AM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
*bump*. I really don't see using this hack unless my users can see whether their is or isn't new posts inside the newbie's topic? Can we add this somehow? ------------------ Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#38206
10/31/2000 2:25 AM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
|
|
|
#38207
10/31/2000 4:58 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
yea that is a good point but like your users are obviously gonna know...if the post is @ the top of the list theres a new post u know! ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38208
11/13/2000 11:28 PM
|
Joined: Jul 2000
Posts: 52
Member
|
Member
Joined: Jul 2000
Posts: 52 |
Well.... i just found a pretty bad error. I doubt it was in my install.
First there is the folder thing... no biggy. But, the folder also doesn't change when you close it, AND then when you do close it, the reply button doesn't turn to "thread closed", AND YOU CAN'T REOPEN THE DANG THING.
PL
------------------ X-Admin Of Gaming Update Pioneer of Gamespecs.com
X-Admin Of Gaming Update Pioneer of Gamespecs.com
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|