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

Reply
 
Thread Tools Display Modes
  #21  
Old 04-19-2008, 05:17 PM
ishare ishare is offline
 
Join Date: Jun 2006
Location: Stockholm
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did all of them. But nothing changed.

I even changed the <a href="javascript:;"> as <a href="#" onclick="aFunction();return false;"> but its still same. vBulletin convert that link. In status bar, the link should appear as javascript but it appears as http://www.dwshare.com/javascript<b></b>:;

There is something inside the showthread.php which cause this problem. But what ?

I will lost my mind due to this problem...
Reply With Quote
  #22  
Old 04-19-2008, 06:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever make the change regarding the id tag? That will screw things up. I'm not sure if it will change the link like that, but it will screw up your javascript call. You might as well get that problem out of the way so that the main problem is more isolated.

Oh, something else..... on your test.php page (or whatever you called it), add all the same "require_once" files (add them one-by-one) at the top as in the showthread.php page. See if that changes things. Go through the rest of the showthread page and see if other files get called into the page also and try adding those.
Reply With Quote
  #23  
Old 04-20-2008, 11:55 AM
ishare ishare is offline
 
Join Date: Jun 2006
Location: Stockholm
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything. I did remove and re-enter all the script lines in showthread template.
But nothing changed.
The link should appear as "javascript:;" on status bar, but it appears as "http://www.divx-world.com/javascript<b></b>;"

I even tried to changed the current link ("javascript:;") as "#". Then the link appears as "http://www.dwshare.com/showthread.php?p=42632#". And when you click this link, it goes top of the page and tabs doesnt working.
Reply With Quote
  #24  
Old 04-20-2008, 02:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not the showthread template, the showthread.php page. That is when your tabs are broken. So, go through showthread and add the files one by one and see if you can get your test page to 'break'. Like:
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/class_postbit.php');

Add those at the top under
require_once('./global.php');

See if you then get the funny url. You need to find out what is making the url go weird and the only way to do it is to add this stuff one by one. Add in all the hook lines so that it includes your hacks and see if that breaks it. Just keep adding stuff from the showthread.php page into your test.php page until it breaks.
Reply With Quote
  #25  
Old 04-20-2008, 02:45 PM
ishare ishare is offline
 
Join Date: Jun 2006
Location: Stockholm
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before i start try to solve this problem, i had totally 125 hair on my head. And now finally i have about 10.

I did try all the scripts given in below website.
http://webtecker.com/2008/03/31/list...ab-navigation/

But none of them worked. Ok some of them worked but with many style problems.
The best script is Yahoo YUI. But i did not understand how to put the code into showthread. Its too complicated. At least for a dummy as i am.

The tab panel in current vBulletin profile page is also very nice. But i dont know how to use them. Do you have any idea about where these files located ? Or do you know how can we use it as a html post in showthread ?

If not, then i'm done! I will just continue with old way. And i will never use tab panel scripts again...

Regards
Reply With Quote
  #26  
Old 04-20-2008, 02:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, don't give up! But, perhaps if you are frustrated, put it off until you are ready to tackle it again. I think it's a cool idea, although very specific to only a few forums who would need something like that.

As for the tabs on the profile page, there is this: [How-to] Add more tabs to the vB 3.7 profile pages That may help a little bit. I have successfully added tabs to the profile page on my test site, so I do know that works.
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:13 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.04385 seconds
  • Memory Usage 2,216KB
  • 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
  • (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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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