![]() |
Fantastic Mod.
How could I make this available to just my premium members? |
Quote:
|
do it as a promoted group , then premium who are in it are ok those who aspire to or pay towards are therefore eligble when you have stipulated within that promotion goup
|
Hi
I followed the read me , and did everything but it doesnt work... I cant see my smilies in the usercp What im doing wrong? |
Quote:
|
Quote:
|
Quote:
Step 5. Template modifications =================================== In the template USERCP_SHELL Find ------------------- <tr> <td class="thead">$vbphrase[miscellaneous]</td></tr> Replace it with ------------------- <tr> <td class="thead">$vbphrase[mysmiliesvb_mysmilies]</td> </tr> <tr> <td class="$navclass[mysmiliesvb]" nowrap="nowrap"><a class="smallfont" href="mysmiliesvb.php?$session[sessionurl]">$vbphrase[mysmiliesvb_mysmilies]</a></td> </tr> <tr> <td class="thead">$vbphrase[miscellaneous]</td> </tr> IN the template navbar Find ------------------- <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> Replace it with ------------------- <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="vbmenu_option"><a href="mysmiliesvb.php?$session[sessionurl]">$vbphrase[mysmiliesvb_mysmilies]</a></td></tr> DONE!!! Thats all. I thougt, but it isnt working. :confused: If I use the direct url it works, but i dont see them in any usercp Maybe im missing something ( i use vb since a short time:rolleyes: ) but i dont know what i,m missing Greetz |
Kentaurus ... do you have any kind of standard guidelines for coders who want to support MySmilies in other mods?
-- hugh |
Quote:
Because of that, the MySmilies functionality is already there. It's just that it's not being called because the hack needs to know that the userid is, the user that owns the smilies, that is. Since I didn't want to modify the function call to the bbcode_parse functions I used a global variable instead of adding parameters to the function. This is by far not the best design approach, but it is the most flexible since it requires no code modifications. For any other hack, before your call to bbcode_parse, issue a: $GLOBALS['mysmiliesvb_userid'] = USERID; Where userid is the id of the user that owns the smilies. That would vary depending on the context, $vbulletin->userinfo['userid'] holds the user that is currently logged in, but most of the times that's not good, since the custom smilies are user-based then each hack needs to figure out, depending on the context, what user to store in the global variable. After the bbcode_parse call, I usually do an unset($GLOBALS['mysmiliesvb_userid']). This is not required, it's only polite, to clean up the global variable (since nobody else should be using it after the parsing). Feel free to PM me if you want me to look at any hack and check if MySmilies could be enabled. Most of the times, if the hack keeps a userid around, it's really easy, and just one line of code. |
Quote:
And is that the current sytle that is being used for the forums? The replacements, if done right, add the links to MySmilies :) You can also try adding a link at the header, or the forumhome... or anywhere for testing. |
Truly great mod!
|
Well I installed it, installed the product and language, and everythings in spanish, and my old smilies dont work now, there arent any custom ones yet.
Help! |
nice hack... installed
|
Quote:
Your smilies shouldn't stop working... this hack only share with the normal smilies the name. No smilies code is overriden. Do you have an example? Was the parse smilies option checked? |
Wheres it at, cause I dont know. Everything in the ACP is in spanish, I've managed to change the user side to English, but everything else, got no clue.
|
Please update the plugin to insert the templates as cached in global.php
Code:
Below Standard:redirect insert your templates Por cierto el hack esta muy bien, me ha funcionado sin problemas, saludos |
Quote:
Now error to showthread & newreply I if not upload smilie |
Quote:
This seems like a javascript problem, and that's unlikely since the hack uses the same javascript that regular smilies use. I don't think I can do anymore for it to work. Please ask some other user to test the hack, to check if the problem is your browser. Should the problem be the hack, and since I cannot replicate the exact setup of your forum, I'm afraid I have no way of fixing it. It's also weird, since it is working in a lot of other boards, but as with any hack, that's hardly a warranty. |
Quote:
Login to ACP Go to "Frases & Idiomas" -> "Administrador de idiomas" Click on "Predeterminado" to some other language that is not spanish Installing a language pack is only for changing the language :) |
i use 3 style
3 style give eror, testing browser work good https://vborg.vbsupport.ru/external/2007/01/4.png https://vborg.vbsupport.ru/external/2007/01/5.png https://vborg.vbsupport.ru/external/2007/01/6.png |
Thanks, this is just what I need.
|
Hi,
I have the following error after I installed mysmilies: when i upload an image and attach it in an posting with the [attach] code the image is shown twice in the posting. 1 in the posting where the [attach] is, and 2 in the frame for the attachment. after i deactivated mysmilies it didn't happen anymore. How can this be ? the forum is 3.6.3 |
Quote:
|
Supported or not ?
|
I'm sorry. After a lot of debugging I was unable to fix the error that you are getting. I can't possibly support all forum, hack and style combinations, I can only support an installation on a clean vb, and I am willing to help people fix mixed problems that could happen when something between modifications collides.
|
My members wanted this enabled for signatures so I added 2 new plugins with this code:
PHP Code:
Also Hugh created vBlogetin support for this hack. You can download the addon product here. |
How many queries does this add to showthread.php?
|
Quote:
|
Quote:
But all is not lost as I have back-ported to v3.5.x and have released it here as MySmilies VB for v3.5.x :D |
Kentaurus, could you possibly help me out and advise how I could get MySmilies working with amy's userpage mod?
|
Can you add who is online phrase? Now it shows
" /mysmiliesvb.php Unknown Location /mysmiliesvb.php |
on my forum i have named one of smiles as : owned: (without the space after the colon) however when i go to post the message or preview it it comes up as :owned: is this a glitch or did i miss something??
|
Quote:
That is the easiest way to get around it. |
Quote:
|
When I go to insert a default vBulletin smiley in the comments area of Photoplog, the smiley shows up. But when I place a smiley from the MySmilies VB MOD, the smiley shows up before saving, but the replacement text for the smiley shows up after saving. Also, I can not use any of the smilies from MySmilies in the description of the image.
|
Here's a quick bug fix. In newer versions of PHP5, you will have problems with files that start with <?, if you use <?php it will eliminate problems for some people (myself included).
Your main file is fine but class_dm_mysmiliesvb.php needs to be changed. Installed. |
i messed up... i installed it... and didnt see that the language xml was for spanish... how do i delete that language file.. because while the hack works great.. its all en espanol!!!!
|
I'm having trouble with the images not showing. I got them to show once, but then they went back to :image:
Here's a post from one of my users Quote:
I'm using 3.6.4 and a lot of other mods. Which templates might interfere with this one? |
I've installed but when I'm trying to upload any image it says:
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /srv/www/vhosts/xyxyxy.com/httpdocs/forum/mysmiliesvb owned by uid 0 in /includes/class_dm_mysmiliesvb.php on line 168 Warning: fopen(./mysmiliesvb/mysmilie_1.gif) [function.fopen]: failed to open stream: No such file or directory in /includes/class_dm_mysmiliesvb.php on line 168 How can I handle this problem? Thanx *mysmilies folder is 0777 / trying to upload less than 60X60 |
Quote:
|
All times are GMT. The time now is 04:21 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:
|