vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - MySmilies vB (v3.8.0) (https://vborg.vbsupport.ru/showthread.php?t=220193)

mike2902 08-05-2009 06:03 PM

Quote:

Originally Posted by SecondV (Post 1862050)
what site? because I guarantee that didn't happen because of this hack.

www.hangin-out.net


the site itself if fine...just the Admin CP is jacked up

Eric 08-05-2009 06:05 PM

Quote:

Originally Posted by mike2902 (Post 1862054)
www.hangin-out.net


the site itself if fine...just the Admin CP is jacked up

did you delete your cpstyles directory for some reason?

'The requested URL /cpstyles/ was not found on this server.'

mike2902 08-05-2009 06:09 PM

Quote:

Originally Posted by SecondV (Post 1862056)
did you delete your cpstyles directory for some reason?

'The requested URL /cpstyles/ was not found on this server.'

not to my knowledge

Eric 08-05-2009 06:10 PM

Quote:

Originally Posted by mike2902 (Post 1862057)
not to my knowledge

well that's your problem, and it wasn't because of this hack ;)

mike2902 08-05-2009 06:14 PM

Quote:

Originally Posted by SecondV (Post 1862058)
well that's your problem, and it wasn't because of this hack ;)

I would agree it wouldnt be the hack. Well then how could I get a copy of that folder and where does it go?

Eric 08-05-2009 06:19 PM

Quote:

Originally Posted by mike2902 (Post 1862063)
I would agree it wouldnt be the hack. Well then how could I get a copy of that folder and where does it go?

It comes with your vBulletin download - go to the vB members area, download the 3.8.3 archive - then upload the 'cpstyles' folder to your forum root

goxy63 08-05-2009 06:59 PM

Iam having small issue here

On my homepage Iam using this hack under vba module
https://vborg.vbsupport.ru/showthread.php?t=210126
Dion Dev Shoutbox v2.0 (uses AJAX)

When logged out within shoutbox it shows only :smiley:
Also other users dont see my smileys in mentioned shoutbox, only user who placed them is able to see them
Any suggestions

Eric 08-05-2009 08:05 PM

I do not support any third-party mods -however, when I get a chance - I'll check into it.

choccyclaire 08-05-2009 08:35 PM

It doesn't work for moving smileys? (gifs)?

EDIT: NVM dodgy smiley lol.

Thanks. :)

Hostboard 08-05-2009 08:37 PM

Tried to upload a .png file and got:
This PNG image has the incorrect file extension.

Also might want to make mention someplace on the users screen the format's accpeted as well as file sizes as defined in the ACP so users know what their limitations are.

Eric 08-05-2009 09:44 PM

Quote:

Originally Posted by Hostboard (Post 1862156)
Tried to upload a .png file and got:
This PNG image has the incorrect file extension.

That's determined by vB's upload system, not this hack.
Quote:

Originally Posted by Hostboard (Post 1862156)
Also might want to make mention someplace on the users screen the format's accpeted as well as file sizes as defined in the ACP so users know what their limitations are.

Uses vBulletin's allowed extensions, but will add this to my todo list.

Reycer 08-05-2009 10:36 PM

Quote:

Originally Posted by SecondV (Post 1861499)
Looking into this error - as far as MGC Chatbox, honestly I'm not sure if it will or not.



yes, yes


It works fine. I have MGC Chatbox, and the smilies show up.

I installed this last night and it's working GREAT! Thank you for this. Definatly nominated as this is one less stress relief on my part....lol

Spoke to soon. I can see the smilies that I have uploaded but others cannot. They just see something like :smiley: while I'm seeing the actual smilie.

goxy63 08-05-2009 10:40 PM

quote Posted by Hostboard
Also might want to make mention someplace on the users screen the format's accpeted as well as file sizes as defined in the ACP so users know what their limitations are.
end of quote
Well for my users I mentioned that with help of "phrase menager" adding info about filesizes and how many smilies they can upload....just abowe "browse" button when user should upload one

But wouldnt hurt to see this automated :)

Regarding to my issue (sorryz to be pain in but)

I think its cause vba not this mod...but with my poor knowledge I just dont know how to make these smilies show up anywhere within vba modules :(

smilies there dont show up as they are following wrong link for some reason
http://www.#####.com/forums/admincp/mysmiliesvb/mysmilie_1.gif

my vba is not in same directory as forums

Eric 08-06-2009 12:10 AM

Quote:

Originally Posted by mdelcour (Post 1862216)
It works fine. I have MGC Chatbox, and the smilies show up.

I installed this last night and it's working GREAT! Thank you for this. Definatly nominated as this is one less stress relief on my part....lol

Spoke to soon. I can see the smilies that I have uploaded but others cannot. They just see something like :smiley: while I'm seeing the actual smilie.

Just to make sure it's not a bug with MySmilies - does this happen on the forum anywhere? Or just the shoutbox?

trotskid 08-06-2009 08:44 AM

Hi. I've seen that the smilies doesn't appear in the quote box. There is a fix for this?

Greets

Oblivion Knight 08-06-2009 10:16 AM

Quote:

Originally Posted by trotskid (Post 1862433)
Hi. I've seen that the smilies doesn't appear in the quote box. There is a fix for this?

Greets

Ah yes, that could be quite annoying..

The only "obvious" fix I can think of is to use [img] tags for custom smilies in quotes? Is that possible?

Eric 08-06-2009 01:20 PM

Quote:

Originally Posted by trotskid (Post 1862433)
Hi. I've seen that the smilies doesn't appear in the quote box. There is a fix for this?

Greets

Quote:

Originally Posted by Oblivion Knight (Post 1862456)
Ah yes, that could be quite annoying..

The only "obvious" fix I can think of is to use [img] tags for custom smilies in quotes? Is that possible?

Looking into it now.

EDIT: Just tested this on my forum - works fine? :\

goxy63 08-06-2009 02:06 PM

My quote box is also just fine

@SecondV
Do you use vba, if u do than....when and if you have time can you just have a quick look at my forums (mentioned problem above)?

Anyways thanks

Megatr0n 08-07-2009 01:57 AM

SecondV, great plugin.

I have managed to get this to show under my UserCP but doesn't show when accessing the private.php page.

If you do not mind can you gimme specific instructions how I can get the link to show in UserCP even when someone has accessed their PM inbox? Thanks, much appreciated! :)

trotskid 08-07-2009 02:16 PM

Quote:

Originally Posted by trotskid (Post 1862433)
Hi. I've seen that the smilies doesn't appear in the quote box. There is a fix for this?

Greets

False alarm. Now it seems to work :)

Eric 08-07-2009 02:56 PM

Quote:

Originally Posted by goxy63 (Post 1862573)
My quote box is also just fine

@SecondV
Do you use vba, if u do than....when and if you have time can you just have a quick look at my forums (mentioned problem above)?

Anyways thanks

I do not use vBa - but let me see what I can do.

Quote:

Originally Posted by Megatr0n (Post 1862879)
SecondV, great plugin.

I have managed to get this to show under my UserCP but doesn't show when accessing the private.php page.

If you do not mind can you gimme specific instructions how I can get the link to show in UserCP even when someone has accessed their PM inbox? Thanks, much appreciated! :)

I'm not entirely sure what you're asking.

Quote:

Originally Posted by trotskid (Post 1863115)
False alarm. Now it seems to work :)

Good. :)

Megatr0n 08-07-2009 03:20 PM

Quote:

Originally Posted by SecondV (Post 1863142)
I do not use vBa - but let me see what I can do.


I'm not entirely sure what you're asking.


Good. :)

When someone accessing their PMs they can view the links inside the UserCP.

On my forum all the links are there except for the My Smilies one for your plugin. So, how do I get it to show on the private.php page.

I hope that makes better sense.

Eric 08-07-2009 03:33 PM

Quote:

Originally Posted by Megatr0n (Post 1863154)
When someone accessing their PMs they can view the links inside the UserCP.

On my forum all the links are there except for the My Smilies one for your plugin. So, how do I get it to show on the private.php page.

I hope that makes better sense.

The link to My Smilies will not show up unless the usergroup has the permissions to use My Smilies. AdminCP -> Usergroups -> Usergroup Manager -> Edit Usergroup:
https://vborg.vbsupport.ru/external/2009/08/26.png

Megatr0n 08-07-2009 03:37 PM

Quote:

Originally Posted by SecondV (Post 1863157)
The link to My Smilies will not show up unless the usergroup has the permissions to use My Smilies. AdminCP -> Usergroups -> Usergroup Manager -> Edit Usergroup:
http://www.domainportfolio.us/suppor...groupperms.png

I've done that and it does show for all my users when they access their UserCP.

However, no one can see it when they're accessing their private message inbox, which would be this URL:

http://www.yourforum.com/forum/private.php

Try it on your board and see if you can still see the link on the left.

Oblivion Knight 08-07-2009 07:11 PM

Quote:

Originally Posted by trotskid (Post 1863115)
False alarm. Now it seems to work :)

Not a false alarm for me, custom smilies other than a user's own, aren't working when quoted - just the replacement text is being displayed.

trotskid 08-07-2009 09:03 PM

Yes, you right Oblivion Knight.

Quote:

Originally Posted by Oblivion Knight (Post 1863238)
Not a false alarm for me, custom smilies other than a user's own, aren't working when quoted - just the replacement text is being displayed.


nascartr 08-08-2009 02:38 AM

Quote:

Originally Posted by Oblivion Knight (Post 1863238)
Not a false alarm for me, custom smilies other than a user's own, aren't working when quoted - just the replacement text is being displayed.


Same here. I am using a custom quote box though?

Oblivion Knight 08-08-2009 09:23 AM

Quote:

Originally Posted by nascartr (Post 1863396)
Same here. I am using a custom quote box though?

Makes no difference, mine is default.. :)

nascartr 08-08-2009 01:10 PM

Quote:

Originally Posted by Oblivion Knight (Post 1863474)
Makes no difference, mine is default.. :)

Ok, just making sure! :D

Sador 08-08-2009 01:39 PM

About the showing in quotes stuff... it shows the smiley when you quote your own post with your own custom smiley, but it doesn't show when someone else quotes it, because they don't have the smiley so the text doesn't get parsed.

It would be nice if that could be fixed. Also, right now custom smileys are shown in the html box with all the other smileys. This looks kinda bad, so I disabled that, but it doesn't show in 'more smileys' either. Is there some way that could be fixed as well?

Otherwise, great mod, thanks a lot. :)

Eric 08-08-2009 06:29 PM

Quote:

Originally Posted by Sador (Post 1863534)
About the showing in quotes stuff... it shows the smiley when you quote your own post with your own custom smiley, but it doesn't show when someone else quotes it, because they don't have the smiley so the text doesn't get parsed.

It would be nice if that could be fixed. Also, right now custom smileys are shown in the html box with all the other smileys. This looks kinda bad, so I disabled that, but it doesn't show in 'more smileys' either. Is there some way that could be fixed as well?

Otherwise, great mod, thanks a lot. :)

As stated earlier in this thread about "More Smilies", that will be in the next release.

Quote:

Originally Posted by nascartr (Post 1863524)
Ok, just making sure! :D

Quote:

Originally Posted by Oblivion Knight (Post 1863474)
Makes no difference, mine is default.. :)

Quote:

Originally Posted by nascartr (Post 1863396)
Same here. I am using a custom quote box though?

Quote:

Originally Posted by trotskid (Post 1863287)
Yes, you right Oblivion Knight.

As for the Quote issue - I'm looking into it, I'm not sure if it's going to be that easy of a fix.

Eric 08-08-2009 06:32 PM

Quote:

Originally Posted by Megatr0n (Post 1863158)
I've done that and it does show for all my users when they access their UserCP.

However, no one can see it when they're accessing their private message inbox, which would be this URL:

http://www.yourforum.com/forum/private.php

Try it on your board and see if you can still see the link on the left.

Not sure what to tell you, as it works on my board just fine. But give me some time, I'll try to see if I can find any possible causes.

Megatr0n 08-08-2009 10:32 PM

Quote:

Originally Posted by SecondV (Post 1863663)
Not sure what to tell you, as it works on my board just fine. But give me some time, I'll try to see if I can find any possible causes.

Hi Eric,

Sounds good. I look forward to a hopeful solution! :)

Sweeks 08-10-2009 10:35 AM

Works perfectly, thanks!

Oblivion Knight 08-10-2009 12:10 PM

Regarding the quote box bug..

It can be fixed by removing this from the query on the bbcode_parse_complete plugin:
Code:

                WHERE userid='{$GLOBALS['mysmiliesvb_userid']}'
..But it's not at all recommended if you have a large board with many users who make use of custom smilies. I've done it because I have a small board, with not so many users and have limited the smilies per user to 20.

Perhaps somehow grabbing the quoted user's userid and adding it to the query is a possibility?

I was looking at some code from an old "Who Quoted Me?" plugin. While it would need reworking for use here, I think it could be a possibility..

Eric 08-10-2009 02:16 PM

Try this for me?

Change the query in that plugin to:

PHP Code:

    if (isset($GLOBALS['postinfo']['userid']) AND $GLOBALS['postinfo']['userid'] > 0)
    {
        
$smilies_where "userid IN('{$GLOBALS['postinfo']['userid']}', '{$GLOBALS['mysmiliesvb_userid']}')";
    }
    else
    {
        
$smilies_where "userid = '{$GLOBALS['mysmiliesvb_userid']}'";
    }

    
$smilies $this->registry->db->query_read_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "mysmiliesvb
        WHERE 
$smilies_where
    "
); 

And see if that works for you.
Quote:

Originally Posted by Oblivion Knight (Post 1864527)
Regarding the quote box bug..

It can be fixed by removing this from the query on the bbcode_parse_complete plugin:
Code:

                WHERE userid='{$GLOBALS['mysmiliesvb_userid']}'
..But it's not at all recommended if you have a large board with many users who make use of custom smilies. I've done it because I have a small board, with not so many users and have limited the smilies per user to 20.

Perhaps somehow grabbing the quoted user's userid and adding it to the query is a possibility?

I was looking at some code from an old "Who Quoted Me?" plugin. While it would need reworking for use here, I think it could be a possibility..


Oblivion Knight 08-10-2009 02:45 PM

Unfortunately, it didn't work.. :(

I've a horrible feeling that an additional query may be needed, unless it can be done with joins?


Of course, another fault with my current "solution" is that all users can use anyone's custom smilies, using the replacement.

Eric 08-10-2009 03:13 PM

What's weird is when debugging, it works just fine - when posting as another (test) user, without the debugging code in place, it doesn't parse the smilie. :|

Eric 08-11-2009 08:11 PM

MySmilies vB will not support parsing smilies in a quoted users post, unfortunately. I've tried several things without success, maybe I'm over thinking it.

Aside from that, thinking about it - any work around for it would potentially cause several queries per post, and that's not good.

Oblivion Knight 08-12-2009 07:31 AM

Quote:

Originally Posted by SecondV (Post 1865351)
MySmilies vB will not support parsing smilies in a quoted users post, unfortunately. I've tried several things without success, maybe I'm over thinking it.

Aside from that, thinking about it - any work around for it would potentially cause several queries per post, and that's not good.

I noticed that when I changed the query (forgot to post), so quickly reverted it.. ;)


--EDIT--
I've had to uninstall this, it's causing a couple of nasty conflicts - executing additional queries. On v3arcade; for a game's high scores, it was running an extra query for every score on a page.


All times are GMT. The time now is 01:01 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
  • Page Generation 0.03310 seconds
  • Memory Usage 1,862KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (34)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete