vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   View Single Post in the same window by scrolling instead of in a new window?? (https://vborg.vbsupport.ru/showthread.php?t=229295)

Drocr 12-01-2009 11:18 PM

View Single Post in the same window by scrolling instead of in a new window??
 
Where is the option to make it so when you view a single post it just scrolls down to the post instead of showing it by itself.. I can't remember, but I could almost swear I saw it before

Example of what I DON'T WANT
https://vborg.vbsupport.ru/showpost....45&postcount=1

Example of what I WANT it to do
http://www.vbulletin.com/forum/showt...=1#post1856816

Lynne 12-01-2009 11:38 PM

There is no option to do that. It's just that some admins have rewritten the link to do it the way you want.

Drocr 12-02-2009 03:09 AM

Would I have to request this in the mod area or can you easily explain how it's done? :(

Lynne 12-02-2009 03:17 AM

Well, just look at the url that you posted. First, it's a link to showthread.php instead of showpost.php. Then, it has the thread id added (t=xxxx), then the postid (p=yyyy) and then viewfull=1 after that (then the postid again, but I don't think that is really needed). So, have you tried writing that out as the link instead of the default link?

Drocr 12-02-2009 07:42 AM

Okay here is an example of a post:

Code:

http://www.animeblend.com/community/showpost.php?p=37658&postcount=58
so I would change it to...

Code:

http://www.animeblend.com/community/showpost.php?t=876&p=37658&postcount=58&viewfull=1
Hmm well it didn't work. :(

/fails

Lynne 12-02-2009 01:42 PM

Uh, no, that isn't going to work because you didn't change showpost.php to showthread.php like I said. Also, you don't want postcount in there (I didn't mention putting that in there).

Drocr 12-03-2009 06:23 AM

http://www.animeblend.com/community/...658&viewfull=1

Code:

http://www.animeblend.com/community/showthread.php?t=876&p=37658&viewfull=1
Sweet, that worked, I'm an idiot lol.

So where in the code do I have to change this? :(
Thats the next problem XD

--------------- Added [DATE]1259829001[/DATE] at [TIME]1259829001[/TIME] ---------------

Actually

http://www.animeblend.com/community/...8&postcount=58

Changing the original to just

http://www.animeblend.com/community/...8&postcount=58

Also makes it work, so all I have to do is change the showpost to showthread...where ever that code is..

Lynne 12-03-2009 01:43 PM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.


All times are GMT. The time now is 03:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01001 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete