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

Reply
 
Thread Tools Display Modes
  #11  
Old 05-08-2015, 01:37 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michelle81 View Post
Wow have you seen all the coding in that clientscript/vbulletin-core.js file

I will have to be very careful not to mess anything up.

Would you suggest i download it before i try and make any changes just encase i make any mistakes

Many thanks
Always take a backup of a file before attempting any changes. The changes shouldn't be that bad as the text for each of the changes that I have you look for only appears one time in the file which is the one you'll be changing.
Reply With Quote
  #12  
Old 05-09-2015, 05:33 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i am going to sound thick here

I have just opened that file in my cpanel

I see something that resembles a pair of binoculars do i search in there

Many thanks once again
Reply With Quote
  #13  
Old 05-10-2015, 07:05 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Holy crap

I am so glad i did a back up

I applied them changes inline mod menu did not work and i then had a problem logging in

Is there any chance i could send you clientscript/vbulletin-core.js file.i am using 4.2.1 for you to have a look at and maybe apply the changes for me
Reply With Quote
  #14  
Old 06-08-2015, 07:19 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
You can try the same change I used for the same problem for the Separate Sticky and Normal Threads Product
Assuming you have compressed javascript make the following changes to clientscript/vbulletin-core.js

Search for this.collection[A].checkbox.check and you add the bit in red:
Code:
if(this.collection[A].checkbox&&this.collection[A].checkbox.checked)
The next two changes are trickier because you need to surround lines of code with an if statement.

Search for this.checkbox.checked=! and add the two bits in red:
Code:
if(this.checkbox){switch(A[1]){case"invert":this.checkbox.checked=!this.checkbox.checked;break;case"none":this.checkbox.checked=false;break;case"class":this.checkbox.checked=YAHOO.util.Dom.hasClass(this.container,A[2]);break;case"flag":if(typeof A[2]!=undefined&&!isNaN(A[2])){this.checkbox.checked=this.checkbox.value&A[2]}else{this.checkbox.checked=true}break;default:case"all":this.checkbox.checked=true;break}}
Search for this.checkbox.check? and add the two bits in red:
Code:
if(this.checkbox){var A=(this.checkbox.checked?"addClass":"removeClass");YAHOO.util.Dom[A](this.container,"imod_highlight");console.log("Set Inlinemod State for %s - %s",this.itemid,A)}
You can also vote to have the bug patched at http://tracker.vbulletin.com/browse/VBIV-6156, you'll need to be logged in to vb.com to see the bug report.
I am running vbulletin 4.2.1 tried doing the above and messed my forum up.Good job i saved a copy lol

Can you not just give me a copy of your vbulletin-core.js file :up:
Reply With Quote
  #15  
Old 06-09-2015, 01:09 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you upgrade to 4.2.2 and then make those changes to your script?
Reply With Quote
  #16  
Old 06-09-2015, 07:28 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Why don't you upgrade to 4.2.2 and then make those changes to your script?
My last admin left who did all the uploading of scripts etc etc.I would just make a complete mess of it lol.I have also got some good things on my forum and would upgrading to a newer version spoil that.

I have also been told its the plugin thats the problem.Once turned off it works

Many thanks
Reply With Quote
  #17  
Old 06-09-2015, 10:06 AM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have the "Seperate sticky and normal threads" mod installed? This is a known cause of the inline drop down menu not working.
Reply With Quote
  #18  
Old 06-09-2015, 11:44 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

Its just the post thanks hack that's causing the issue with the inline drop down menu.I don't know why this mod is causing the issue.I don't have the other thing installed.

When i turn this off the inline mod menu works again.My friend is having the same issue.

i have tried doing the fix in the vbulletin-core.js file but i am making a mess of it

many thanks
Reply With Quote
  #19  
Old 06-09-2015, 11:54 AM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't heard of the inline menu not working due to the post thanks hack. It is normally caused by javascript/jquery conflicts.

What all do you have installed? Try disabling all mods then turn on just the post thanks hack and see if it works then.
Reply With Quote
  #20  
Old 06-09-2015, 04:36 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Snow View Post
I haven't heard of the inline menu not working due to the post thanks hack. It is normally caused by javascript/jquery conflicts.

What all do you have installed? Try disabling all mods then turn on just the post thanks hack and see if it works then.
Thanks for your reply

Its definitely the post thanks hack
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 11:32 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.06271 seconds
  • Memory Usage 2,263KB
  • 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_code
  • (4)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