![]() |
I don't know what's going on but I can not get this to show up on my forum. I have it turned on and everything but to no avail. I'm using vb 4.0.6
http://www.tbkgaming.com/forum/ |
Quote:
|
OK, never mind. I added the extra command /kiss.
I also made it truly multilingual by using a phrase in class_formatting.php. I used the same name as setting $text = construct_phrase($vbphrase['mgc_cb_evo_cmd_slap_phrase'], $user['username'], $chat['text']); $text = construct_phrase($vbphrase['mgc_cb_evo_cmd_kiss_phrase'], $user['username'], $chat['text']); |
Quote:
Quote:
There are a lot of settings because I want to allow user to customize the chatbox to their own needs. About usergroups, I could perhaps do an own page to set the usergroup permissions of each groups at once only for chatbox part, a sort of extract from the usergroup permissions. Is this what you need ? Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
- Have you set usergroup permissions ? - Have you tried different options of position ? Quote:
For the slap that won't work as is in the next version as I implemented the possibility to add multiple slap sentences. Your kiss command is interesting, I might implement that. |
Quote:
I simply created the phrase using the same setting name and replaced the call with $text = construct_phrase($vbphrase['mgc_cb_evo_cmd_slap_phrase'], $user['username'], $chat['text']); So all you would have to do would be to create the phrase if you are adding extra settings I love the fact that when you switch language the command that was already sent also changes. in English: userXX sends a kiss to YY and switch language it displays userXX envoie un bisou ? YY If you are adding the slaps dynamically you could always insert the phrase like they do in notices, using slap_{slapid}_html. If it's extra vBoptions then you already know the name |
Quote:
Quote:
Quote:
|
OK, I'll give you an example of what I just did. I am using Bobster tabbed forumhome mod.
Every time I add a tab, I do: PHP Code:
When I edit the tab, I already have the tabid, so I do PHP Code:
PHP Code:
PHP Code:
PHP Code:
-------------------------------------------------------------------------- Now, in your case, since you are doing one per line, then you'd have to insert them each with a unique id or that will not work, unless you tag them with an $i value. And that could be complicated. |
I got it, thanks.
|
I am having a small issue with this. If I have it set to display in forums, it works just fine; however if I try to limit it to just one forum (id 8), then it does not show in any forums (not even forum 8). Any ideas?
|
All times are GMT. The time now is 01:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|