![]() |
Post Redirection Message (PRM) Hack - Custom "postthanks" messages per forum!
This hack replaces the message you see after posting a new thread or reply ( the "Thanks for posting! You will now be taken to..." message). You can even set multiple messages if you want to use different messages for each forum!
Screenshots will follow! ++++++++++++++++++++++ Version 1.2 - 10/30/02 ++++++++++++++++++++++ I'd really like to thank Xenon - he helped me immensely in the debugging process! Download: click here Upgrading to 1.2: click here for instructions Enjoy! -Nick |
screenshot 1: admin cp
|
screenshot 2: admin cp (edit forum)
|
screenshot 3: after posting
|
VERY Nice... Good Job, A definate install :p
|
:D
|
Hey nifty idea, *kicks install* ;)
|
let me know if anything isn't working quite right...i had to revise the instructions a couple times, even after Xenon worked on them.
|
I'd rather if it would say RETURN TO FORUM, RETURN TO MESSAGE, RETURN TO INDEX
|
Removed my re-directs long ago...
|
oh.
|
My forums are screwed right now, but once I fix them... Yes, I'll install :p
|
lol cool hack ! :D
- miSt |
How can I edit the actual HTML of that redirection page?
|
if you want to edit the whole page, you'd have to edit the standardredirect template. otherwise, if you want to edit only the html in the box where the message is, you can insert it in your post redirection message.
|
Quote:
|
wow.
|
Why?
|
why what?
|
Would anyone remove the redirector code?
And Nick, for the life of me, I couldn't find this code in newthread.php: PHP Code:
|
that code should be right above:
PHP Code:
____________________________ on the other note, i guess people might remove the redirects to cut down on bandwidth or something...i'm as mystified as you are though ;) |
Couldn't find it ... could I just place this
PHP Code:
|
mmm...you could try it; it won't hurt anything. i suspect maybe you've modified that part of the code before... :)
if it doesn't work, let me know what version you have. |
everything worked fine until I came to...
Find: ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++ moderateattach) ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++ Replace it with: ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++ moderateattach,postthanksid) ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++ etc, in forum.php Using 2.2.8 |
in wordpad, search for ",moderateattach" (w/o quotes) and try to find it. you might have made a modification to that part of the code.
|
ok it all worked! thank you for a brilliant hack! just what i was looking for!
|
i'm happy for you, and you are very welcome. :)
|
Quote:
|
Can someone help me. I only want the same redirection message for a reply and a new thread for the certain forum. How we would go by changing this? All i need is it to change the new thread redirection.
|
Quote:
|
um, you can do this exact same thing by going into your control panel and editing the redirect templates.
|
no you can't
|
Oh, well I was mistaken, I see this hack is for different messages in multiple forums. I was talking about changing the message for all news posts in all the forums, which you can do in your admin pc with a template edit.
|
I've cautiously removed this from BETA and also added the ability to change messages depending on whether a new thread or a new reply is being posted.
To upgrade, I'd recommend uninstalling and starting over, BUT you can just update by redoing steps 5-7 in readme-prm.txt, uploading prm.php to your admin folder (overwrite old one), issuing the following SQL query, and running the install script again. [sql]DROP TABLE postthanks; ALTER TABLE forum DROP postthanksid;[/sql] The new version is attached; enjoy! |
Nice:)
Satan |
thanks :)
|
Quote:
|
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|