php forum
php mysql forum
php mysql smarty
 
Topic Options
#216679 - 05/14/02 03:01 PM Link This
SCybak Offline
Newbie

Registered: 05/03/02
Posts: 18
I wrote a small hack/mod that lets a user link a post purely by the PK. It can go anywhere in your directory structure. <br /> <br />I haven't truly tested it completely out yet, but, for example, try the following urls. <br /> <br />www.domecanmar.com/gotothread.php?gotopost=91884 <br /> <br />www.domecanmar.com/gotothread.php?gotopost=381 (error should occur) <br /> <br />You should see a favourites icon in the post extras section of show flat/threaded which can be used to link this document from another site. If the post happens to move boards, the script will find this and redirect the browser. <br /> <br />I've included in the zip file a small installation file, so it shouldn't be to hard to implement (changing 4 lines in 4 files) <br /> <br />Let me know if and what i should change. HTH <br /> <br />EDIT - please don't register a name or post in the forums! It's a copy of existing and my users may get emails <img src="/forum/images/icons/frown.gif" alt="" />


Edited by SCybak (05/14/02 03:04 PM)

Top
#216680 - 05/14/02 03:01 PM Forgot the attachment [Re: numbnutz]
SCybak Offline
Newbie

Registered: 05/03/02
Posts: 18
BTW - i just fixed the script, below the line: <br /> <br /> if ($flaton == 1) { <br /> <br />add: <br /> <br /> if ($gotoparent == 0) { <br /> $gotoparent = $gotopost; <br /> } <br /> <br />sorry, i'm a little slow today <img src="/forum/images/icons/laugh.gif" alt="" />


Attachments
47720-GoToPost.zip (256 downloads)



Edited by SCybak (05/14/02 03:08 PM)

Top
#216681 - 05/15/02 03:41 AM Re: Forgot the attachment [Re: numbnutz]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Sounds great - however the two examples do not show up any posts <img src="/forum/images/icons/frown.gif" alt="" /> and neither error <img src="/forum/images/icons/wink.gif" alt="" /><br /><br />Regards,<br /><br />Ian
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#216682 - 05/15/02 01:37 PM Re: Forgot the attachment [Re: Gorlum]
SCybak Offline
Newbie

Registered: 05/03/02
Posts: 18
One of the admins closed the forums because he saw some weird IP's.. LOL, i've re-opened.<br /><br />Guess i'll have to build in that support as well <img src="/forum/images/icons/laugh.gif" alt="" /> Mod to come in a couple of hours when i get a chance

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