![]() |
New Reply help please..
Am trying to figure out how to make the page return to the top of the browser rather than the posting...
Am using the reverse order feature and am having some posters biatch because they have to scroll up the page about an inch to reach the "Post Reply" button in order to post again... So what I'm trying to figure out is how to make the page return to the top so that the viewer can see the header after he submits a new posting... Any suggestions would be appreciated... |
at the end of a page theres also a postreply button, so why scrolling?
|
Xenon... Thanks for replying...
K... I allow the posting of stock market chart images on the site and some of these tings are about 1200 pixels in length... So when they post the image, they have to scroll up the page about an inch to see the Post Reply button again... Need to get rid of the target that stops the page from returning to the top rather than the top of the posting... Can't find the location to make the change... :( Scroll down the page a bit and you'll see images of the squawk... TalkStox.com Thanks... Ed |
you have to edit newreply.php
theres a block: PHP Code:
|
Oi ve... What do I change it to or delete???..
TIA... Ed |
change showthread.php?s=$session[sessionhash]&postid=$postid#post$postid
into showthread.php?s=$session[sessionhash]&threadid=$threadinfo['threadid'] for example |
Thanks... I'll give it a shot and see whut happens... :)
|
Chit... Got this error now when you go to post... :(
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/sites/site2/web/forum/newreply.php on line 266 |
use this line:
$goto="showthread.php?s=$session[sessionhash]&threadid=".$threadinfo['threadid']; |
That one worked... Thank You... :)
Correction:... Still doesn't work... :( |
can you give more details?
|
K... The new reply still jumps back to the top of the posting and not to the top of the page to include the header...
|
are you sure you have replaced all instances of the block?
it appears at least two times |
No... I just replaced it at the location you stated above... Will look for more instances...
|
Xenon... That's better... Works great now... Didn't realize the change had to be made in more than one location...
Thanks Again... :):):) |
you're welcome
no matter, i've also forgotten to mention that ;) |
All times are GMT. The time now is 10:18 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:
|