php forum
php mysql forum
php mysql smarty
 
Topic Options
#37004 - 03/18/00 09:11 PM Update to greeting by time/last visited hack
icEFusioN Offline
Junior Member

Registered: 03/17/00
Posts: 14
Well, I decided to update this hack so it would combine them both into one line.

The output looks like: Good (time of day), (username) , you last visited on (Date) at (Time)

Anyway, here's the code. This is the first thing I've ever done so uhh...dont beat me with sticks or anything

File to be edited: Ultimate.cgi
Difficulty: None
Tested on: 5.44a

For those with 'Display Category Only on First page' turned off:

Find:

Code:
code:



Add after:

Code:
code:



Find:

Code:
code:



Add After:

Code:
code:



Find:

Code:
code:



Add ABOVE:

Code:
code:



Find:

Code:
code:



Replace with:

Code:
code:



----OR----
If you have Category Display Only turned ON:

Find:

Code:
code:



Add After:

Code:
code:



Find a few lines below:

Code:
code:



Add After:

Code:
code:



Find:

Code:
code:



Add ABOVE:

Code:
code:



Find:

Code:
code:



Replace with:

Code:
code:



And that's it! If either doesn't work correctly, say what's wrong and I'll try to help you out best I can. Thanks ilya and Mas*Mind for the two great hacks! And away I go! *insert woosh sounds here*
_________________________
*insert woosh sounds here* smile

Top
#37005 - 03/18/00 09:34 PM Re: Update to greeting by time/last visited hack
hunter Offline
Member

Registered: 03/17/00
Posts: 39
icefusion -

it works great except that it is splitting the Good evening on a second line. See at forums.wildwings.net .

tell me what I did wrong if possible.

Jerry

Top
#37006 - 03/18/00 09:42 PM Re: Update to greeting by time/last visited hack
icEFusioN Offline
Junior Member

Registered: 03/17/00
Posts: 14
Hmmm...did you modify anything in there? It should'nt be centering anything...maybe it's the older version?

Check out my UBB at http://www.sonicice.net/cgi-bin/Ultimate.cgi to see what it should turn out as..

Also, did you have either of the hacks installed before?
_________________________
*insert woosh sounds here* smile

Top
#37007 - 03/18/00 09:53 PM Re: Update to greeting by time/last visited hack
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Nice addition
My original hack just put the "Last visited" part right under the greeting.
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#37008 - 03/18/00 10:28 PM Re: Update to greeting by time/last visited hack
hunter Offline
Member

Registered: 03/17/00
Posts: 39
icefusion -

Finally got it to work. Had to play around with your java script section to get it to place in the correct spot.

I guess on my older version it just didn't want to play our correct.

Thanks for the great hack.

Jerry

Top
#37009 - 03/19/00 08:09 AM Re: Update to greeting by time/last visited hack
katgyrl.com Offline
Junior Member

Registered: 02/07/00
Posts: 8
Loc: toronto, canada
icefusion - i visited your ubb last night to see it in action and i got an ie error message (in the browser status bar) that said your time wasn't defined. then i came back this morning & was told that i last visited at "Good morning
You last visited: blank , 20-100"

that happens on this ubb as well... so has anyone gotten this to work perfectly in 5.44a or b...? it looks a right mess the way it is now. i've gotten it working perfectly in 5.38a but trying to get it to work in 5.44 seems really problematic.

Top
#37010 - 03/19/00 10:13 AM Re: Update to greeting by time/last visited hack
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
That is because the Java Script cant define what time of day 12:00 midnight is!

------------------
President and Webmaster of UBB Hackers Hideout.

Contact Me at:

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

Top
#37011 - 03/19/00 11:06 AM Re: Update to greeting by time/last visited hack
katgyrl.com Offline
Junior Member

Registered: 02/07/00
Posts: 8
Loc: toronto, canada
yes i just saw that mentioned in another thread, how frustrating...! but it seems to have absolutely no problems with the midnight hour in version 5.38a, just 5.44x my 5.38 works perfectly going from 11:59 into the next day... hope it's something that can be fixed...! :-)

Top
#37012 - 03/19/00 02:47 PM Re: Update to greeting by time/last visited hack
icEFusioN Offline
Junior Member

Registered: 03/17/00
Posts: 14
You know what would be nice, is if these greetings worked when the url had bypasscookie=true or whatever that junk is when you click the logo image/main forum listing link in the tree, instead of it only displaying the name/date when you go directly to Ultimate.cgi...

Also, I'm not sure about this, but if you add this in the JavaScript section:

Code:
code:



Above the first one of that type, it may recognize midnight. I'm not completely sure about this, so if it messes up your board or anything, just remove that line. I haven't been able to test this though because I can't change the time on my server. If anyone does want to test it, post your results here -ice

------------------
*insert woosh sounds here* smile
_________________________
*insert woosh sounds here* smile

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks