Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2013, 09:09 AM
Zoul Zoul is offline
 
Join Date: Nov 2012
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default postbit_legacy Help

Hello

In postbit_legacy, there is a variable which name is:

HTML Code:
{vb:raw template_hook.postbit_userinfo_right_after_posts}

it includes a lot of information

I would like to extract the information one by one to replace it in the next:
DJ's Dynamic Tab Content for Postbit_Legacy


where can I find the variables one by one which composes?

thank you very much
Reply With Quote
Благодарность от:
Digital Jedi
  #2  
Old 10-02-2013, 04:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there is information coming through that template_hook, then it is via a plugin and you would need to take a look at the plugin to 'extract' the information.
Reply With Quote
  #3  
Old 10-06-2013, 07:46 PM
Zoul Zoul is offline
 
Join Date: Nov 2012
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello LYnne

I can not find the template in the cpadmin

by searching "Search templates"

I even trying to find a tool bar with firefox web develop
Vb but the variable does not appear ...
So I'm stuck

could you refer me?
in fact all the hacks that are installed in this variable will be:
DBTech - vBActivity
vb credit
uCach
or even profile information

and I love each separate information.

ty
Reply With Quote
  #4  
Old 10-06-2013, 08:00 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That mod was good, but even the author, DJ said himself this mod is better than his, and it is a bit easier to work with.
[DBTech] Postbit Tabs v1 (vB4)
Reply With Quote
Благодарность от:
Digital Jedi
  #5  
Old 10-06-2013, 09:19 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, it's the more advanced version I always wanted to create, but really had no idea how to at the time. They even use the same tab images from my mod. And since your already using a DBTech product, it should be perfect for what you're trying to do.
Reply With Quote
Благодарность от:
ozzy47
  #6  
Old 10-07-2013, 01:24 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zoul View Post
Hello LYnne

I can not find the template in the cpadmin

by searching "Search templates"

I even trying to find a tool bar with firefox web develop
Vb but the variable does not appear ...
So I'm stuck

could you refer me?
in fact all the hacks that are installed in this variable will be:
DBTech - vBActivity
vb credit
uCach
or even profile information

and I love each separate information.

ty
It isn't a template. It's from a plugin using a template_hook. So, you need to find the plugin that is adding the code.
Reply With Quote
  #7  
Old 10-07-2013, 10:54 AM
Zoul Zoul is offline
 
Join Date: Nov 2012
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you to all three
I misread the recommended program (too fast)
[DBTech] postbit Tabs v1 ​​(vB4)
And therefore not tried to hack, because I had not realized it was the same thing.

I will try it even if I am disappointed not to be arrived with the program or DJ I already made ​​a good start working



I try not to
Reply With Quote
  #8  
Old 10-08-2013, 02:19 PM
Zoul Zoul is offline
 
Join Date: Nov 2012
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So here's some news:

finally Vbteck principle I like unless aplication Digital Jedi.
Already all the interesting options are paid.
But thanks to a hack I found a lot of my answers.

I have only two problems to solve:

last visit:

HTML Code:
<b>Derni?re visite:</b> {vb:raw pmbox.lastvisitdate} @ {vb:raw pmbox.lastvisittime}

or

{vb:rawphrase last_visit} {vb:raw sortarrow.lastvisit}

and Ucash (yes vb credit slows my forum too):
https://vborg.vbsupport.ru/showthrea...ighlight=Ucash

HTML Code:
<dt>{vb:rawphrase ucash_points}</dt><dd> {vb:raw userinfo.ucashdisplay}</dd>

or

<vb:if condition="$show['ucash']">
						<dt>{vb:rawphrase 'ucash_points'}</dt> 
						<dd>{vb:raw post.ucashdisplay}</dd>
					</vb:if>

does not work in the postbit_legacy

Would you help me please to operate in this place?
Reply With Quote
Reply


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 08:56 PM.


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.04203 seconds
  • Memory Usage 2,240KB
  • 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
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (3)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete