The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
BB Code Functions Details »» | |||||||||||||||||||||||||
As requested by mudpyr8: https://vborg.vbsupport.ru/showthread.php?t=62933 Features
Known bugs
Notes
Screenshots See attachments. Enjoy. Remember to click install if you do use this hack. Show Your Support
|
Comments |
#12
|
||||
|
||||
Quote:
Quote:
Quote:
|
#13
|
||||
|
||||
So..
If anyone has this installed and working, could you let me know? It's a sort of long (although quick) hack to install, so I just want to confirm everything is in place. |
#14
|
||||
|
||||
Wow, kickass hack. I won't install it just yet (trying to find a good file comparison program for Linux to upgrade to vB3 Gold - and I'm not digging myself into a bigger hole before I upgrade (31 modified files is enough for RC3, thank you very much) Well definately install it when I finally get vB3 Gold up and running.
[high]* Link14716 clicks install anyways. [/high] |
#15
|
||||
|
||||
The following is a useful function I made that evaluates a mathematical expression.
https://vborg.vbsupport.ru/showpost....02&postcount=2 |
#16
|
||||
|
||||
Quote:
|
#17
|
||||
|
||||
Quote:
|
#18
|
||||
|
||||
Big kudos to VeloCD for doing this hack. He was willing to write the code after an initial request I made for my dice roller. I like to have the ability for members to roll dice in my forums, but I didn't want to have to hack up the bbcode parser to do it. I thought it would be great to have an adminCP that would allow for php functions to be called by bbcodes, but had NO idea how to do it.
Luckily VeloCD saw my post and said he knew how to do it and here it is. BIG BIG THANKS. I will be posting my dice roller soon. If you'd like to see it in action, here you go: http://www.tekhed.com/dice/ Feel free to email me with game system support requests. |
#19
|
|||
|
|||
I'm going to have to add a line of credit to my site just to cover you Velocd. I don't go looking for your hacks specifically, but it seems you're often behind the ones I end up on when I have a focused need. Great work, again.
Now that I've blown a little sunshine, I have a "clueless" question to ask. I need to figure out some method of allowing users to make text in their post 'secure'. 'Secure' in the sense that other users can't just highlight, right click, copy, and then paste elsewhere. I know nothing is entirely safe (they could simply just View Source), but the primary goal is to prevent someone from absentmindedly cutting and pasting something sensitive into an email to someone else. I could just do it for all my pages, but in many cases the content my site covers needs to be able to be copied and pasted into other posts, so that's no good. Needs to be only there when people want it so. I've found JavaScript that can accomplish this (I'll quote below in case this is a bad way to do it (it did come from someone named Bart with an AOL account after all), and someone can recommend better -- or in case I haven't expressed my desire well enough), but no PHP. PHP *seems* to be what your hack speaks to though. So my question, and it's coming from a layman to be sure, is can I accomplish what I want with your hack? HTML Code:
<SCRIPT language=JavaScript> <!-- /* No rightclick script v.2.5 (c) 1998 barts1000 [email]barts1000@aol.com[/email] Don't delete this header! */ var message="Oops, that function is disabled."; // Don't edit below! function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </SCRIPT> |
#20
|
||||
|
||||
One control that might be necessary is the ability to prohibit the use of a particular code in a signature. BBCodes are normally allowed in signatures, but someone who puts [power] into their sig, or [roll]50d1000[/roll] could generate a lot of server activity. If this isn't possible, the admin will just have to watch for such sigs, but it is important to note that. 100 people with factorials in their sigs is gonna be bad.
|
#21
|
||||
|
||||
wcbryant: I think you can. You would just have to write a php function that wraps the bbcode param in the javascript:
[secure]insert message here[/secure] would then wrap "insert message here" in the javascript. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|