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

   Link This to Del.icio.us Add to del.icio.us
  Digg Link This Digg it
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 (64 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: 2574
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
1 Registered (Gizmo), 26 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 6
Ian_W 4
tackaberry 4
Chris Bale 4
Gizmo 4
FREAK1 4

 

 

 
fusionbb message board php hacks