TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 702
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 313
  • Total: 313

Tp shout box error?

Started by karag8z, February 09, 2009, 10:29:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Ken.

This has been covered many times karag8z. :)
Do a search for 'shoutbox redirect' and you'll find the answer.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

karag8z

i am using beta 2 and i havent any code what bloc say in http://www.tinyportal.net/index.php/topic,23213.0.html. Also my shoutbox loo sux. dont u look screenshot?

he said
Open up tp-files/tp-modules/tp-shoutbox/Sources/TPShout.php and find:
Code:
redirectexit($_POST['tp-shout-url']);

Replace it with:
Code:
redirectexit($_POST['tp-shout-url'], false, true);

If you want to change it for all though, you can do that too. Open up Sources/Subs.php and find:
Code:
function redirectexit($setLocation = '', $refresh = false, $tp_not = false)

replace with:
Code:
function redirectexit($setLocation = '', $refresh = false, $tp_not = true)

My code in tp-files/tp-modules/tp-shoutbox/Sources/TPShout.php
1-redirectexit(strip_tags($_POST['tp-shout-url']));
2-redirectexit('action=forum');
3-redirectexit('action=tpmod;shout=admin');

Ken.

Please read the Posting Guidelines.html so that we know what we are working with.

Yes I looked at your screen shot... including the part where you say, "when i push button going to forum page."
If you follow the posting guide and give the info requested there it will be lots easier to help.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

karag8z

http://www.sitename.com/Forum/index.php?action=tpmod;shout=admin;settings

when u select scrooling, that template error appear, and u rigth, i can see redirect error from orjinal packages.

This website is proudly hosted on Crocweb Cloud Website Hosting.