The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
console.log <- Vbulletin using this and it rustles me.
When you load a page in vbulletin, it shows the console.log entries for expanding hiding/showing the forums displayed.
Is there anyway to stop making it show these console.log(); ?????? |
#2
|
||||
|
||||
I have no idea what you are talking about. Can see get a link to view the problem? Or an image?
|
Благодарность от: | ||
RichieBoy67 |
#3
|
|||
|
|||
<a href="http://puu.sh/gceSG/ff7874031a.png" target="_blank">http://puu.sh/gceSG/ff7874031a.png</a>
Press F12 and look for the Console. You will see the log entries. I do a fair bit of Jquery coding as well on some custom pages and it is very annoying to scroll through these entries. They appear to be the minimized individual forums from forum.php page |
#4
|
||||
|
||||
Wait a sec... so you want to not see the console.log entries on the page? Then turn off the console, no? What exactly does the browser console have to do with vbulletin (besides that you are viewing the 'talking' to the page? I really don't understand what you are asking for here.
|
#5
|
|||
|
|||
He wants vBulletin to stop using the console.log function in the JavaScript files of vBulletin.
You'll have to edit the clientscript/vbulletin-core.js file and remove all the console.log calls. |
2 благодарности(ей) от: | ||
Lynne, Max Taxable |
#6
|
|||
|
|||
I saw that before I even posted, however, that is a @#($&* ton of code haha. I was just hoping there was a simple fix :erm:
|
#7
|
||||
|
||||
Thanks. Sometimes even coffee doesn't help with my morning comprehension!
|
#8
|
|||
|
|||
Lol the guys at my work don't even want to talk to me without my coffee present lol
|
#9
|
||||
|
||||
Shoot my wife doesn't want to deal with me until I've had a cup, you have it good my friend very good .
|
#10
|
|||
|
|||
Only console.log()? Or console.warn() and console.info() too?
I can do it with regular expression search and replace. EDIT One thing I'm not sure what to do with though: Code:
vBulletin_Framework.prototype.console=function(){ if(window.console||console.firebug){ var args=new Array(); for(var i=0;i<arguments.length;i++){ args[args.length]=arguments[i] } try{ eval("console.log('"+args.join("','")+"');") } catch(e){ } } }; |
Благодарность от: | ||
Max Taxable |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|