vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Help with determining uniqueness in postinfo (postbit) [PROBLEM SOLVED] (https://vborg.vbsupport.ru/showthread.php?t=319561)

Xcynic 07-19-2015 08:33 PM

Help with determining uniqueness in postinfo (postbit) [PROBLEM SOLVED]
 
I'm trying to add tabs to the postinfo in postbit. However whenever you click on the tabs on for example my postinfo, another users tab also gets changed. I'm wondering what is it and how would I go on about making it unique so only my tab changes when I click on it? (unique for each user)

As you can see in the image below, I have two tabs (the text are fillers) and I want them to be unique for each users. Right now as I said when clicking on the tabs on one user, every users tab changes.

https://vborg.vbsupport.ru/external/2015/07/9.png

You can see and try it out here : https://pixlicity.com/showthread.php?6-Count-to-100-000

Thanks.

kh99 07-19-2015 08:49 PM

I just posted this on vbulletin.com, but I think what you want to do is to use {vb:raw post.postid} as part of some kind of tab name or id, so that it will be different for each post. I looked at the html for like 30 seconds and couldn't see how the tabs worked exactly, but maybe you already know where to put the unique id.

Xcynic 07-19-2015 09:01 PM

Quote:

Originally Posted by kh99 (Post 2550762)
I just posted this on vbulletin.com, but I think what you want to do is to use {vb:raw post.postid} as part of some kind of tab name or id, so that it will be different for each post. I looked at the html for like 30 seconds and couldn't see how the tabs worked exactly, but maybe you already know where to put the unique id.

Yea. I replied. I know that it's possible because there are addons doing the same thing, I just want to use my own instead of an addon with a bunch of uneccesary code in it that I really don't need.


All times are GMT. The time now is 12:03 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.00956 seconds
  • Memory Usage 1,712KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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