Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return to the forum..!!!
#1
Whenever a user post a thread or reply user were shown the message as following:-
[Image: c30766Havez103.bmp]

I want to convert the message to following:-
[Image: u29288Wantu103.bmp]

That means I want to add "Alternatively, return to the forum." line to the shown message.
And when the user click on the "return to forum" he will be taken to the forum in which he has posted the thread, just as the same way by clicking on "Click here if you don't want to wait any longer" takes to the thread or reply user have posted.Just as the same way I want to make a link that clicking on "return to forum" take the user to the forum in which he/she has posted the thread or reply.

I know it is possibe because I have seen this in other forum, but I donot know how to do it.

Please help me if you know...????SadSad
Regards,
♥Cuulvaibhav♥
[Image: cuulvaibhav.jpg]
Reply
#2
I think nobody know how to set the required thing posted in above message.
Can anyone at least say on which page I have to go to obtain the php coding of the said page.
For example:-
To edit any thing in showthread page we go to:-
Templates>Modify>*Templete*>Expand>Show Thread Template>showthread>Edit

Just as the same which file I have to go to do the said thing in the above message.

Please tell atleast this if you know.
Regards,
♥Cuulvaibhav♥
[Image: cuulvaibhav.jpg]
Reply
#3
if i knew tht i would know the code dude
[Image: dmannw5.gif]
Reply
#4
The template is
Templates>Modify>*Templete*>Expand>Redirect Templates>redirect>Edit

I'm not sure if it will work but you can try putting {$fid} where you want the link to go IE forumdisplay.php?fid={$fid}
AKA Nickman on the MyBB forums
Reply
#5
I had gone to Redirect Templates but i cannot understand what do you mean with:-
--------------------------------------------------------------------------------
putting {$fid} where you want the link to go IE forumdisplay.php?fid={$fid}
--------------------------------------------------------------------------------
I cannot understand what you said in this.
Please tell me the steps that I need to follow.
And I think you (Nick) and D-Man can solve my problem.
Others person can also help me.
Awating for your response....!!!!!SadSad
Please help me...!!!!
Regards,
♥Cuulvaibhav♥
[Image: cuulvaibhav.jpg]
Reply
#6
Code:
<html>
<head>
<title>$title</title>
<meta http-equiv="refresh" content="2;URL=$url">
$headerinclude
</head>
<body>
<br />
<br />
<br />
<br />
<div style="margin: auto auto; width: $lang->redirect_width" align="center">
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="thead"><strong>$title</strong></td>
</tr>
<tr>
<td class="trow1" align="center"><p>$message</p></td>
</tr>
<td class="trow1" align="center"><p>Alternatively, <a href="forumdisplay.php?fid={$fid}">return to forum </a></p></td>
</tr>
<tr>
<td class="trow2" align="right"><a href="$url"><span class="smalltext">$lang->click_no_wait</span></a></td>
</tr>
</table>
</div>
</body>
</html>

im still missing something
[Image: dmannw5.gif]
Reply
#7
Hi D-Man,

You code is working fine.
Only one problem that occur is that by clicking on return to the forum it doesnot takes to the forum in which a user had posted his message.
I think you are working in this error.
If you find any way to solve the problem pls reply me in this thread.
I also think that Nick can also help me in this problem....!!!!
Please Reply....!!!!!Big GrinBig GrinSadSadSadSadSadSad
Regards,
♥Cuulvaibhav♥
[Image: cuulvaibhav.jpg]
Reply
#8
i did as much as i can i dont know the function which recognizes which forum is posted on sorry dude tht is all i can do
[Image: dmannw5.gif]
Reply
#9
How about trying
<a href="forumdisplay.php?fid={$forum[fid]}">return to forum </a>
AKA Nickman on the MyBB forums
Reply
#10
noppe...
[Image: dmannw5.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)