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-14-2003 04:46 AM

Quote:

Today at 08:29 AM Xenon said this in Post #37
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 :)

LOL! I'm no template expert, but when you want to avoid hacking PHP files because of vB3 coming up, you find ways of doing things without hacking. :)

squawell 03-14-2003 08:28 AM

Quote:

Today at 04:38 AM Erwin said this in Post #34
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.

:)

Erwin i add &postcount=$post[postcount] in postbit template just like u say..

and i use this [ url="$bburl/showthread.php?postid=$postid#post$postid"]#$post[postcount][/ url] in my quotereply template but when i test it it always show
http://www.xx.com/..... not #postnumber like here..

so where do i wrong??

Kars10 03-14-2003 10:12 AM

@ Squawell, use only $postcount not $post[postcount].
This "[ ]" does not work in quotereply!! ;)

squawell 03-14-2003 10:51 AM

Quote:

Today at 08:12 PM Kars10 said this in Post #43
@ Squawell, use only $postcount not $post[postcount].
This "[ ]" does not work in quotereply!! ;)

thankz Kars10...:D:D:

now it works...... :bunny:

Erwin 03-14-2003 10:53 AM

Quote:

Today at 09:28 PM squawell said this in Post #42

Erwin i add &postcount=$post[postcount] in postbit template just like u say..

and i use this [ url="$bburl/showthread.php?postid=$postid#post$postid"]#$post[postcount][/ url] in my quotereply template but when i test it it always show
http://www.xx.com/..... not #postnumber like here..

so where do i wrong??

Put a space between the $postcount variable and [/url] tag

And use $postcount, not $post[postcount] like the previous poster said.

Boofo 03-16-2003 04:45 AM

I understand what postcount does now. It returns the postcount of the thread, not the actual message number. I like this way better that the postid way. Sorry for the confusion. ;)

Sebastian 03-16-2003 05:08 AM

Quote:

Today at 01:45 AM cack said this in Post #190
how do i install a hack if i dont own vb?
very interesting question .. its possible :p

Sebastian 03-16-2003 06:53 AM

cack? i quote someone else post, odd.

X-Fan 04-01-2003 10:36 AM

Gah, I'm so lost... can someone write up a step-by-step summary of how to do this, please?

Alien 04-23-2003 06:36 PM

This is awesome, thanks for the info. :)

All set up and working perfectly!


All times are GMT. The time now is 04:29 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.01117 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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