Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback
  #41  
Old 03-14-2003, 04:46 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #42  
Old 03-14-2003, 08:28 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #43  
Old 03-14-2003, 10:12 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Squawell, use only $postcount not $post[postcount].
This "[ ]" does not work in quotereply!!
Reply With Quote
  #44  
Old 03-14-2003, 10:51 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...:

now it works...... :bunny:
Reply With Quote
  #45  
Old 03-14-2003, 10:53 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #46  
Old 03-16-2003, 04:45 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #47  
Old 03-16-2003, 05:08 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #48  
Old 03-16-2003, 06:53 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cack? i quote someone else post, odd.
Reply With Quote
  #49  
Old 04-01-2003, 10:36 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gah, I'm so lost... can someone write up a step-by-step summary of how to do this, please?
Reply With Quote
  #50  
Old 04-23-2003, 06:36 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome, thanks for the info.

All set up and working perfectly!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04286 seconds
  • Memory Usage 2,252KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete