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 (75 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 Global Moderator 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


Who's Online
0 registered (), 29 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks