vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   New Quote Boxes? (https://vborg.vbsupport.ru/showthread.php?t=50066)

Erwin 03-13-2003 06:19 PM

To get the post count in, you need to edit the "postbit" template and add the variable to the URL for the quote button. :)

Kars10 03-13-2003 06:32 PM

For me the postcount dosent work. I have the postcount and direct link hack installed. In Postbit the variable $postcount works but in my quotereply not...this is strange! :confused:

Boofo 03-13-2003 06:37 PM

Quote:

Today at 02:19 PM Erwin said this in Post #31
To get the post count in, you need to edit the "postbit" template and add the variable to the URL for the quote button. :)
You totally lost me here. I just used postid in the quote_reply and it worked. Where and how would you add it to the quote button and what would you use for the line in the quote_reply then? ;)

Erwin 03-13-2003 06:38 PM

Like I said, the $postcount variable does NOT work immediately.

You need to edit your Quote button link in postbit, and add this to the end of the Quote button URL:

&postcount=$postcount

OR

&postcount=$post[postcount]

Depending on what you use as the postcount variable in your postbit. This way the variable is send to the quote reply template.

:)

Boofo 03-13-2003 06:42 PM

Ahhh, I see. But if you just use $postid where you have $postcount, you wouldn't need to edit the quote button line at all. ;)

Kars10 03-13-2003 07:09 PM

Works like a charm now!!
Thank you Erwin!! :)

Xenon 03-13-2003 07:29 PM

damn, that was a real good idea Erwin :)

i see you are the template specialist of us two :)
so we will have a very good partnership here, i do most file stuff and you most template stuff :)

really good work :)

Boofo 03-13-2003 07:37 PM

Excellent work, Erwin, but postid would have done the same thing. ;)

Xenon 03-13-2003 09:27 PM

but postnumber of a thread looks better ;)

Boofo 03-13-2003 09:30 PM

But when it is processed, the information is all the same. ;)


All times are GMT. The time now is 06:16 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
  • Page Generation 0.01285 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete