Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Ok here you go, this hack will show a blue folder if a member's first post is a new topic. Will revert to the normal folder color after member makes a subsequent post. Works on closed and hot topics as well. I included some blue folders for you to use if you want, as the ones on my forum are Van Halen-ized and wouldn't be appropriate for 99.9999999% of you. smile

Instructions: http://www.vhlinks.com/pages/ubbhacks/newbiehack1.0.txt

Newbie image files:
[Linked Image]
[Linked Image]
[Linked Image]

[ March 21, 2001: Message edited by: Slurpee ]

Sponsored Links
Joined: Mar 2001
Posts: 30
Member
Member
Offline
Joined: Mar 2001
Posts: 30
Kewl nice work slurpee laugh
===========================
off the subject a little could you tell me how to add message icons plz
like the ones on this board tnx........

Great job bye the way............

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Great work as always, Slurpee! I'm going to give this one a whirl tomorrow!

Oh yes. The newbie and newbie lock folders don't appear to be transparent so I took care of it.

[Linked Image]

[Linked Image]


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Couldn't resist fiddling with it.

Okay, here's a couple of minor things I wanted to bring up.

In the instructions:

Look for:
$yellow_hot = qq!(border=0 alt="$vars_wordlets{hot_topic}"> $vars_wordlets{more_than}
$vars_display{HotCount} $vars_wordlets{replies})!;
}

Replace with:
$yellow_hot = qq!(border=0 alt="$vars_wordlets{hot_topic}"> $vars_wordlets{more_than}
$vars_display{HotCount} $vars_wordlets{replies})!;
$newbie_hot = qq!alt="$vars_wordlets{hot_topic}"> $vars_wordlets{more_than}
$vars_display{HotCount} $vars_wordlets{replies})!;
}

You'll notice a missing opening ( here:

$newbie_hot = qq!(before the
Lastly, as for the functionality of this most excellent hack, it appears to function perfectly, except the images are not showing up. They are in my noncgi dir, but its only getting as far as "http://www.domain.com/ubb/"

Any ideas? smile


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Oops fixed the first typo, sorry about that.

With regards to the images, did you go into your control pane andl into your template settings and put the names of the Newbie folder graphics in? You have to do that or it won't work.

Sponsored Links
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Hey. smile

Whammo! That fixed the problem.

Ack, I should have seen that! That should teach me a lesson about installing hacks when I'm about to collapse from exhaustion!

...but it probably won't. wink

Excellent job, and excellent docs!


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Cool beans man. smile

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Nice work Slurpee, I love this hack. I was wondering if someone could add a Flame, and Lock one of this folder.
[Linked Image]
Again, nice work! smile

Joined: Dec 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 20
Great hack! I've run into a problem though... beside the image of the newbie folder, I can't get a description to come up, and there are no wordlets I can change for this. I'm not sure what I'm doing wrong. All it shows is just the image, and no description, and then in brackets it shows the newbie hot folder and says more than 15 replies. Anyway I can change this so it says First post after registration or something like that? Thanks!


ICQ - 28882963
Email - [email protected]
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Woops sorry forgot one step Degen, my bad here it is:

Code
code:

Sorry about that, updating directions right now.

[ March 22, 2001: Message edited by: Slurpee ]

Sponsored Links
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Heya Slurpee,

I did notice one minor problem. It appears when I close a newbie topic, it's bringing up the reguler locked folder instead of the newbie locked folder.

Hmm. Can anyone confirm?


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Dec 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 20
Thanks Slurpee, that did it! smile


ICQ - 28882963
Email - [email protected]
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Might want to change the instructions to read:

Look for:
thanks_for_topic_delete => "The post has been deleted.",

Add this underneath:
newbie_topic => "A new member thread",

As far as I know, the q~ is no longer used there, or am I missing something? smile


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
I changed the instructions Alien. Can anyone confirm Alien's problem? What happens when you close a new member thread people, does the blue lock folder show?

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Alien found the problem, typo on my part!

In PUBLIC_FORUM_PAGE.PL:

Replace:
Code
code:

Replace it with:
Code
code:

Sorry about that, directions corrected!

Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Confirmed! Bug squashed!

Thanks a bunch, Slurp! smile


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
nice work slurpee laugh

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Guys someone pointed out a problem to me today. If you make a new template, you would get an error because of the newbie graphics. I have corrected the problem, all you have do is edit the code of the file below: (My .txt file has been updated to note this)

Code
code:

Sorry about that.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Nice hack, but as I understood it's only for the first post. Can you add it to the Control Panel, so I can change it to more than 1 without changing "if (($TotalPosts == 1) && (closed_topic == "X"))" and and all other ifs there?

Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
hey if someone has some free time on ther hands would you mind looking at this hack and see if you can get it to work.
i have tried this hack over and over but i still can not get it working for me.
if someone will take a look at it and fix it if ther is something worng with it it would be very nice of them.
thanks clankiller


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)