vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Favorite Smilies (https://vborg.vbsupport.ru/showthread.php?t=123116)

Darwinist 10-22-2006 03:36 AM

Quote:

Originally Posted by Viper007Bond
Uh, guests can visit the smilies page. Is this intended? Does it save it to a cookie or something?

I would recommend turning the option off for guests (and anyone who cannot post) in the usergroup manager. As it stands, any attempt by guests to save a favorite list will do nothing. I'll make a change in the future to clear this up.

Ricardo: Thanks, I'll check it out.

apiasto 11-07-2006 02:03 PM

hi, love this mod but can't get it to work.it let me choose favorite smilies and save them.but when i go to post reply i dont see any smilies nor the favorite smilies icon, just an empty space. can any one tell me what i am doing wrong thnx
It can't be because i have smilies in quick reply as well

rknight111 11-11-2006 05:35 PM

Where is the USERCP_SHELL file, I can find a USERCP file but when I go to edit it I cannot find any of the text it says to add text below??

abramelin 11-11-2006 09:05 PM

i want to install this mod is this mod ok?

Darwinist 11-12-2006 12:03 AM

Quote:

Originally Posted by apiasto
hi, love this mod but can't get it to work.it let me choose favorite smilies and save them.but when i go to post reply i dont see any smilies nor the favorite smilies icon, just an empty space. can any one tell me what i am doing wrong thnx
It can't be because i have smilies in quick reply as well

Start with a clean, unmodified copy of the 'includes/functions_editor.php' file and perform the modifications in step 1 of the installation instructions.

Quote:

Originally Posted by rknight111
Where is the USERCP_SHELL file, I can find a USERCP file but when I go to edit it I cannot find any of the text it says to add text below??

USERCP_SHELL is a template. You'll find it under 'User Control Panel Templates' in the style manager of the admin CP.

Quote:

Originally Posted by abramelin
i want to install this mod is this mod ok?

Follow the installation instructions exactly, and you shouldn't have any problems. If you do, let me know.

dagummit 11-12-2006 04:06 PM

I upgraded to 3.6.3 and now the fav smilies doesn't work anymore...is there going to be an update? Or is there something that I need to do to the 3.6.2 mod to get it to work now?

CoreIssue 11-12-2006 04:20 PM

Quote:

Originally Posted by dagummit
I upgraded to 3.6.3 and now the fav smilies doesn't work anymore...is there going to be an update? Or is there something that I need to do to the 3.6.2 mod to get it to work now?

Works okay for me at 3.6.3.

Maybe you missed something?

rknight111 11-12-2006 10:31 PM

Got it working, thanks, But where do I get extra smiles so I can add to it.
Are they hard to add.

Ron

Darwinist 11-13-2006 12:07 AM

A quick search on Google will supply you with more then you'll ever need. Try http://www.mysmilies.com for starters. To add them, go to your admin CP, 'Smilies' -> 'Add New Smilie' or 'Upload Smilie'.

rknight111 11-13-2006 12:49 AM

Thanks for your quick response and the add-on, this will work great

RON

Invalid ID 11-20-2006 02:19 AM

I noticed in my functions_editor.php, the code is different from what I was asked to find in the instructions. My actual code is as below:

Code:

$smilies = $vbulletin->db->query_read_slave("
                                SELECT smilieid, smilietext, smiliepath, smilie.title,
                                        imagecategory.title AS category
                                FROM " . TABLE_PREFIX . "smilie AS smilie
                                LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
                                ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
                        ");
}else{
$nabn = explode(" ", $vbulletin->userinfo['smilie']);
$smilies= $vbulletin->db->query_read_slave("SELECT smilieid,smilietext,title,smiliepath FROM " . TABLE_PREFIX . "smilie AS smilie WHERE smilieid IN (" . implode(",", $nabn) . ")");

eval('$vbcode_smilies_editfav = "' . fetch_template('vbcode_smilies_editfav') . '";');
}
                        // get total number of smilies
                        $totalsmilies = $vbulletin->db->num_rows($smilies);

When I replaced it with

Code:

############### FAVORITE SMILIES #################
                        global $permissions;
                        if (($vbulletin->userinfo['favsmilies']) AND ($vbulletin->options['favsmiliesactive']) AND ($permissions['favsmiliepermissions'] & $vbulletin->bf_ugp_favsmiliepermissions['canusefavsmilies'])) {
                                $show['favsmilies'] = true;
                                $favsmilies = str_replace(" ", ", ", $vbulletin->userinfo['favsmilies']);
                                $smilies = $vbulletin->db->query_read_slave("
                                        SELECT smilieid, smilietext, smiliepath, smilie.title,
                                                imagecategory.title AS category
                                        FROM " . TABLE_PREFIX . "smilie AS smilie
                                        LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
                                        WHERE smilieid IN ($favsmilies)
                                        ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
                                ");
                                $favsmtotal = $vbulletin->db->num_rows($smilies);
                                $smilietotal = $vbulletin->db->query_first("SELECT COUNT(*) as total FROM " . TABLE_PREFIX . "smilie");
                                $totalsmilies = $smilietotal['total'];
                        }
                        else {
                                $smilies = $vbulletin->db->query_read_slave("
                                        SELECT smilieid, smilietext, smiliepath, smilie.title,
                                                imagecategory.title AS category
                                        FROM " . TABLE_PREFIX . "smilie AS smilie
                                        LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
                                        ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
                                ");
                                $totalsmilies = $vbulletin->db->num_rows($smilies);
                        }
############### /FAVORITE SMILIES ################

A parse error message appeared.

May I know what to do?

Thanks

acegames 11-22-2006 01:53 PM

Awesome hack , love it , and worked fine untill I upgraded I now have this small bug which hopefully you can help me fix :

Darwinist 11-23-2006 03:22 PM

Quote:

Originally Posted by Invalid ID (Post 1121258)
I noticed in my functions_editor.php, the code is different from what I was asked to find in the instructions. My actual code is as below:

SNIP

When I replaced it with

SNIP

A parse error message appeared.

May I know what to do?

Thanks

Looks like your script was previously modified. Try using a fresh copy of the script.

Quote:

Originally Posted by acegames (Post 1122942)
Awesome hack , love it , and worked fine untill I upgraded I now have this small bug which hopefully you can help me fix :

Does your smilie box display properly? If so, you may have a coding error in the 'includes/functions_editor.php' file. Confirm you've made all the necessary changes exactly as they are shown in the installation instructions.

shete 11-24-2006 07:40 AM

Quote:

Originally Posted by apiasto (Post 1112414)
hi, love this mod but can't get it to work.it let me choose favorite smilies and save them.but when i go to post reply i dont see any smilies nor the favorite smilies icon, just an empty space. can any one tell me what i am doing wrong thnx
It can't be because i have smilies in quick reply as well


I ahve the same problem as this guy . Everything I did was correct , set the right options in Admin CP . Saved some fav. smilies .

But then I go to the Reply section and its not modified . Same stuff . Nothing new .

What do I need to do ?

shete 11-24-2006 07:47 AM

Nevermind I got it to work ,Wonderful hack .

acegames 11-25-2006 10:22 AM

Quote:

Originally Posted by Darwinist (Post 1123697)

Does your smilie box display properly? If so, you may have a coding error in the 'includes/functions_editor.php' file. Confirm you've made all the necessary changes exactly as they are shown in the installation instructions.

Yes it displays ok but is just empty , I have made all the changes as shown in the installation , I think it may be another hack that has conflicted but not sure

I will check my functions_editor.php

cykelmyggen 11-28-2006 07:26 AM

Did anyone try this with 3.5.7 - what are the chances it'll work?

Darwinist 11-28-2006 10:02 AM

A version for 3.5 can be found Here.

cykelmyggen 11-28-2006 06:54 PM

Quote:

Originally Posted by Darwinist (Post 1127135)
A version for 3.5 can be found Here.

I'm fully aware of this, but I was not sure if the 3.5.7. changes would affect some of the features in this mod. In the meantime I installed it , and it worked out fine!
I was just wondering about how to translate the phrases and submit/clear List-buttons to my own language. Can't seem to find these in the phrase manager?

WAHMama 12-01-2006 10:34 AM

This is an awesome code, I just installed it NP :)

Natalie@Club 12-05-2006 10:58 AM

Amazing hack, thank you :D:D

Cloudrunner 12-12-2006 02:01 PM

I would love to use this, but I need to know will it handle 3,500+ smilies?

If so, is this modification confirmed to work with 3.6.4 using the 3.6.1 instructions?

Thanks for your time.

CR

qqb825 12-12-2006 04:09 PM

working great, thanks! :up:

NathanLedet 12-23-2006 05:21 AM

Successful installation on 3.6.4...Thanks ;)

Darwinist 12-23-2006 03:12 PM

Quote:

Originally Posted by Cloudrunner (Post 1137087)
I would love to use this, but I need to know will it handle 3,500+ smilies?

If so, is this modification confirmed to work with 3.6.4 using the 3.6.1 instructions?

Thanks for your time.

CR

I've never tested it with that many smilies, but if vBulletin handles it, then this mod will.

Runs just fine on 3.6.4.

hoof 12-24-2006 06:00 PM

Thanks...working fine on my 3.6.4 site :)

Installed

Distance 12-24-2006 06:22 PM

seen post above oops

Insert Username 12-24-2006 10:38 PM

Sweet! I've been wanting this EXACT functionality for quite some time. Awesome!

Cyricx 12-26-2006 06:19 PM

In order to handle a large number of smilies it would need to be able to split them up into pages I'd think...

Otherwise can you imagine opening up a page and having to wait to load 3000 images? :)

I'm in a similar boat as we have close to 500 smilies :)

If this can split them into pages to browse, I'd be sold! :) And would contribute to the author :P

thepub 01-18-2007 12:03 AM

I upgraded to 3.6.4 and now it no longer works :( Anything I can do about it?

akulion 01-29-2007 08:32 AM

hi

wonderful mod - love it

However it is causing an issue for me when Composing a New message (new thread)

The site header gets replicated and doubled for some reason...(see screen shotbelow)

Can you advise me how to fix this?

Thanks
Aku

http://img222.imageshack.us/img222/6...torial1eg6.jpg

akulion 01-29-2007 08:35 AM

o never mind

i just realized whats causing this

I have a Rule Hack for new threads installed which shows a short version of forum rules when composing new threads..disabled that hack and everything works beautifully!!
thanks so much

thepub 01-29-2007 12:13 PM

Quote:

Originally Posted by thepub (Post 1161800)
I upgraded to 3.6.4 and now it no longer works :( Anything I can do about it?

also added vbadvanced as well. I still cannot get it to work.

Insert Username 01-29-2007 10:31 PM

Quote:

Originally Posted by thepub (Post 1161800)
I upgraded to 3.6.4 and now it no longer works :( Anything I can do about it?

Mine died, too. I'm just assuming that one or more of the template changes got wiped out, so I'm going to go redo them. I'll let you know if it works (whenever it is I get to it).

Insert Username 01-30-2007 02:51 PM

Quote:

Originally Posted by thepub (Post 1161800)
I upgraded to 3.6.4 and now it no longer works :( Anything I can do about it?

thepub, if your problem is the same as mine, you need to re-apply the changes to the functions_editor.php file. After our upgrade, that file had been replaced. I re-applied those changes and it works fine now.

thepub 01-30-2007 06:29 PM

Quote:

Originally Posted by Insert Username (Post 1170579)
thepub, if your problem is the same as mine, you need to re-apply the changes to the functions_editor.php file. After our upgrade, that file had been replaced. I re-applied those changes and it works fine now.


what are the changes? I have to change file how?

Insert Username 01-31-2007 01:37 AM

Quote:

Originally Posted by thepub (Post 1170744)
what are the changes? I have to change file how?

Don't know offhand. It's in the intructions that come with the download. Same changes that you had to do last time around. I think there are four edits to the file.

zompus 01-31-2007 11:06 PM

This is one of those hidden gem mods. :)

FANTASTIC!

thepub 02-19-2007 01:34 AM

I dont understand why it's not working for me anymore. I've just reinstalled it and still nothing. This was a very popular addon for my board, the members love it.

Insert Username 02-19-2007 04:46 PM

Quote:

Originally Posted by thepub (Post 1185697)
I dont understand why it's not working for me anymore. I've just reinstalled it and still nothing. This was a very popular addon for my board, the members love it.

Did you reapply the changes to the functions_editor.php file?


All times are GMT. The time now is 01:04 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.01376 seconds
  • Memory Usage 1,838KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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