vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - DJ's Dynamic Tab Content for Postbit_Legacy (https://vborg.vbsupport.ru/showthread.php?t=237867)

Webbstre 06-13-2010 09:32 PM

Thanks for hanging around. I didn't mean to come off rude (if I did), but I am too used to developers for Drupal and Wordpress disappearing in the middle of a good add-on and never being seen again. I'll turn the add-on back on for my site and then PM you with the access info so you can see it in action. That will be later today, as I need to warn my test users first. My site isn't quite live yet, so it's still hidden.

Edit: and I hope your daughter is ok! That's a good reason for not being around, no excuses necessary.

Digital Jedi 06-13-2010 09:42 PM

Quote:

Originally Posted by Webbstre (Post 2053115)
Thanks for hanging around. I didn't mean to come off rude (if I did), but I am too used to developers for Drupal and Wordpress disappearing in the middle of a good add-on and never being seen again. I'll turn the add-on back on for my site and then PM you with the access info so you can see it in action. That will be later today, as I need to warn my test users first. My site isn't quite live yet, so it's still hidden.

Edit: and I hope your daughter is ok! That's a good reason for not being around, no excuses necessary.

No, I just thought I'd explain why I wasn't around and that It's not odd for that to happen from time to time. I always check back on my mods. It's just not as often as I'd like. :)

If I don't get back to you tonight (as I'll be out tonight) I'll try to get to your site within the next couple of days.

merk_aus 06-14-2010 03:01 AM

I did the template edits and nothing at all showed up.

Digital Jedi 06-14-2010 03:26 AM

Quote:

Originally Posted by merk_aus (Post 2053260)
I did the template edits and nothing at all showed up.

And you're certain you edit the right skin?

merk_aus 06-14-2010 03:52 AM

I only have one skin and so yes I am certain I am editing the right skin :D

Webbstre 06-14-2010 06:13 AM

I figured it out! The copyright symbol in this line of code:

Code:

<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/postbit_tabs/tabcontent.css" />
<script type="text/javascript" src="{vb:raw vboptions.bburl}/postbit_tabs/tabcontent.js">
/***********************************************
* Tab Content script v2.2- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>

That character breaks the entire script. I figured it out on accident, because when trying to load that code addition it would cut off one character before it. I don't know if vB can't load it or if it is a language thing or what, but I've removed the little c with a circle on my own site now.

Digital Jedi 06-14-2010 10:29 PM

Quote:

Originally Posted by merk_aus (Post 2053273)
I only have one skin and so yes I am certain I am editing the right skin :D

Even if the JavaScript and CSS files had been in the wrong location, you still should have something show up in the postbit. Are you sure you edited the right template? Are you using posbit_legacy or postbit on your forum?

Quote:

Originally Posted by Webbstre (Post 2053317)
I figured it out! The copyright symbol in this line of code:

Code:

<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/postbit_tabs/tabcontent.css" />
<script type="text/javascript" src="{vb:raw vboptions.bburl}/postbit_tabs/tabcontent.js">
/***********************************************
* Tab Content script v2.2- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>

That character breaks the entire script. I figured it out on accident, because when trying to load that code addition it would cut off one character before it. I don't know if vB can't load it or if it is a language thing or what, but I've removed the little c with a circle on my own site now.

That's an odd one. It really shouldn't have any affect on the code, being commented out and all.

Webbstre 06-15-2010 12:13 AM

Yeah, I don't know why it happened, especially since I installed it without this problem on an earlier version. Perhaps a language setting? Either way, the error I got was about an unexpected ascii thing, and I'm used to language problems, so I went looking for a rogue character and found that instead.

I'm happy now that I can finally implement this product. I'm using a lot of space-consuming mods, so this is vital if I want to keep my forum looking sleek.

Digital Jedi 06-16-2010 06:35 AM

I notice vB.org converts ASCII code in posts. If I type
PHP Code:

&#169; 

it converts it to ?. Can't even preview more than once without it converting the one in the PHP tags. I wonder what would be converting it back.

EquinoxWorld 06-16-2010 08:48 PM

Quote:

Originally Posted by Digital Jedi (Post 2053096)
Which is why I provided the alternate download. ;) I have, on occasion, still been able to download the JS file directly.



Could you link me an example? I haven't had a chance to see this used on a board with a side installed yet. My demo board doesn't include the suite.



Thanks, Gary. :)



Was this only with the Singnature Slider or did you have trouble with the Dynamic Postbit as well? I know I have not had any trouble with my postbit mod, but I did run into issues whenever the init was set. That particular part of the JavaScript just didn't jibe well with vBulletin.



I don't see anything wrong with your Legacy code, offhand. I would need to take a look at your site with the edits in place to see what the trouble is.

It was only with the signature slider. I never actually tried the postbit yet. Everything is working perfect in IE and FF just in google Chrome the buttons don't show that's all. Also would you by any chance know how I could have the page not to move up or down when the signature slides change. For example one member has a one of the sig larger than the others then whenever that sig is displayed the page moves by it's self. Is there any way to correct this without having the page jump around? It is really annoying specially when your trying to write a post or reply. Would appreciate any help I can get. Thanks again for the awesomeness.


All times are GMT. The time now is 07:52 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.01742 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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