MyBB Community Forums

Full Version: [Tip]Enhance the redirect area with an image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a very simple edit that adds an image right under the message:

You have successfully been logged in.
You will now be taken back to where you came from.

when you login/logout or making a post at the redirect screen. Which, in my opinion, will enhance it.


Go to Acp of your forum-Templates & Style-Templates-Default Templates-Redirect Templates-redirect.

And replace the following code:

<td class="trow1" align="center"><p>{$message}</p></td>

with:

<td class="trow1" align="center"><p>{$message}<br /><br /><img src='full url to your image' /></p></td>
For the image_source tag, be sure to include alternate text in order for it to be XHTML valid.

<img src="absolute URI to your image" alt="" />
But of course. I can''t believe that I forgot that. Thanks for correcting it Smile
Thats a nice thing,
One more thing I noticed in some forums especially at mybbcentral, that after posting a thread,members immegiately redirect to the thread, rather to see the Post Thread Confirmation Message... Hows that ?
(2009-06-06, 07:26 AM)ghazal Wrote: [ -> ]Thats a nice thing,
One more thing I noticed in some forums especially at mybbcentral, that after posting a thread,members immegiately redirect to the thread, rather to see the Post Thread Confirmation Message... Hows that ?
I believe it's a setting in your control panel. Configuration >> Server and Optimization Settings >> Friendly Redirection Pages. "On" to see them and "off" to make them go away.
Good Big Grin
That's a nice trick. Thanks for sharing.
Can be nice for advertising or contests..
nice, thanks for this
Thanks for your feedback guys, appreciate it.