Hi people, I have mel ne question is Undzwar it to the button "Shout!"
If you write something in the shoutbox, and then "Shout!" clicks, you will be redirected to the forum. I would like to change this, so which one of the main site (index.php) remains.
've Checked all the files
- TPShout.template.php
- TPShout.german.php
- TPShout.css
not found where the forwarding? action = forum there is.
Can someone tell me how can I change this?
lg Mario
PS: Website www.the-ls-treffpunkt.de
Hello mariodieck,
Welcome to the TinyPortal Support Site.
I can't seem to access your site with the link you provided at the end of your post so that I could see what version of SMF and TintPortal you are using. It would help if you post the information requested in our Posting Guidelines (http://www.tinyportal.net/index.php?topic=581) so that it would be easier to help you. This is the information requested ...
Link to my site: http://www.yourdomain.com or just www dot yourdomain dot com
SMF version: SMF ver. here
TP version: TP ver. here
Default Forum Language: Your Default Forum Language here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here
However, with the latest version of TinyPortal, when you click the "Shout" button, your browser should refresh to the last page you were on.
ZarPrime
In tp-files/tp-modules/TPShout/Sources/TPShout.php
This is the line you are looking for, assuming you are using the lastest TP since you didn't specify the information we requested as ZarPrime pointed out.
redirectexit(strip_tags($_POST['tp-shout-url']), false, true);
Oky ;)
Link to my site: http://www.der-ls-treffpunkt.de/
SMF version: SMF 2.0.1
TP version: TP ver. 1.0 RC2
Default Forum Language: German
Theme name and version: MysticJade
Browser Name and Version: Firefox 3.6.17
Mods installed: SMFPacks Likes Lite Mod, TinyPortal, Aeva Media, Spoiler BBCode, Downloads System
Hi mariodieck,
So, in your first post in this topic, you mentioned that you wanted to change where you are redirected to when posting a shout in the Shoutbox ...
Quote from: mariodieck on January 24, 2012, 10:31:11 AM
If you write something in the shoutbox, and then "Shout!" clicks, you will be redirected to the forum. I would like to change this, so which one of the main site (index.php) remains.
... and I mentioned that ...
Quote from: ZarPrime on January 24, 2012, 02:29:00 PM
However, with the latest version of TinyPortal, when you click the "Shout" button, your browser should refresh to the last page you were on.
So, when you post a shout in the Shoutbox, where do you want your browser to be redirected to, where you were located when you made the shout, or somewhere else? Please explain.
ZarPrime
Ah ok, so I'm going to update TP.
Because this feature Ask what I meant.
Thank you very much:)
I have now installed the update, and it does not work. I always do I get after the button "Shout" click in the forum.
Why?
You are probably using friendly urls in SMF settings?
Open tp-files/tp-modules/TPShout/Sources/TPShout.php
// if using mod rewrite, go to forum
if(!empty($modSettings['queryless_urls']))
redirectexit('action=forum');
else
redirectexit(strip_tags($_POST['tp-shout-url']), false, true);
redirectexit(strip_tags($_POST['tp-shout-url']), false, true);
Thank you, it works.
Topic can be closed.
lg Mario
Support Edit: Topic marked solved. O0