The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
The one I did only works on post replies in the postbit, not new posts or new threads.
|
#12
|
||||
|
||||
Can you link me to the code anyway? It may provide me with some insight as to how I can maybe adapt it to my existing code.
|
#13
|
||||
|
||||
I don't believe the mod was ever released. But, I think boofo has seen it in action and then came up with his own version. Perhaps tempt the bear with some salmon to release his mod.
|
#14
|
||||
|
||||
Salmon? That's the best you can come up with? Although that really doesn't sound too bad right now. OK, I'll take it!
|
#15
|
||||
|
||||
I thought bears liked salmon?
|
#16
|
||||
|
||||
Actually this bear does! Maybe I really am part bear.
|
#17
|
||||
|
||||
Then only part Salmon for you! You silly bear!
Hopefully someone can help... but I also managed to discover another possible way of getting this to work, rather than using pure javascript, maybe there is another way of doing this via php? In the stencil hack, here are some interresting bits of code I discovered that seem to do what I need, but now need to find a way to actually create a button that performs the actions on demand, rather than pre-defined in the AdminCP as it currently does. PHP Code:
|
#18
|
||||
|
||||
This is what I use for the drop down javascript if it will help you at all:
Code:
<div class="vbmenu_popup" id="rules_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[postbit_rules]</td> </tr> <tr> <td class="vbmenu_option"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$post[postid]&u=$post[userid]&textsel=1">Bump Thread</a></td> </tr> </table> </div> |
#19
|
||||
|
||||
Not quite sure what your code pertains to, but the only difference to regular VB code is at the end of the code you have textsel=1 which seems to do nothing on my board. I guess it's hopeless for me then.
|
#20
|
||||
|
||||
The textsel=1 is from the case statement part of the code. I have different templates to insert into messages. As my setup doesn't work on new threads or posts, it wouldn't do you any good, anyway. I was just showing you the part for the javascript drop down since you said that was the part you were having problems with. Actually there are 2 parts to it but it works like a basic menu dropdown like in the navbar. Maybe I'm misunderstanding what you are wanting to do. That is entirely possible, given my age, and living in the woods.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|