vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problems with inline mod dropdown (https://vborg.vbsupport.ru/showthread.php?t=318567)

squidsk 05-08-2015 01:37 PM

Quote:

Originally Posted by michelle81 (Post 2545105)
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.

the one 05-09-2015 05:33 AM

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

the one 05-10-2015 07:05 PM

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

the one 06-08-2015 07:19 PM

Quote:

Originally Posted by squidsk (Post 2545064)
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:

Lynne 06-09-2015 01:09 AM

Why don't you upgrade to 4.2.2 and then make those changes to your script?

the one 06-09-2015 07:28 AM

Quote:

Originally Posted by Lynne (Post 2547426)
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

Black Snow 06-09-2015 10:06 AM

Do you have the "Seperate sticky and normal threads" mod installed? This is a known cause of the inline drop down menu not working.

the one 06-09-2015 11:44 AM

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

Black Snow 06-09-2015 11:54 AM

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.

the one 06-09-2015 04:36 PM

Quote:

Originally Posted by Black Snow (Post 2547449)
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


All times are GMT. The time now is 03:11 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.02442 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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