Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
vBmoods 1.0 Details »»
vBmoods 1.0
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-03-2002 Last Update: Never Installs: 78
 
No support by the author.

vBmoods
Version 1.0 | by Velocd ^_^


Update - 8/5/02 - Nakkid & Firefly Quick Reply Add-On's
In the updated zip are two text documents that each contain an add-on for either Nakkid's or Firefly's quick reply hack. I HIGHLY suggest you install these add-ons (that is if you have a quick reply installed) because they make things much easier and cooler.
You can view a screenshot of Nakkid's qrb here
.


Update - 8/4/02 - Bug fix
Fixed a bug where when editing a post, if you don't specify a new mood and mood message, you will lose your last ones. Also gave instructions on adding the templates to the templates used list, to prevent excess queries. Sited by TheDutch here. Refer to 8-4-02fix.txt in the zip for instructions on how to fix.



What does this hack do?

This is an interesting hack on my part. I tried to create this very hack about a month and half ago, but failed miserably wasting 7 hours of my life (a small fraction to how many hours I've really wasted doing other things ). Just 2 days ago I was looking on vB.org for a good mood hack, but there were only 2 and they didn't satisfy my tastes at all. So I decided to give it another shot, knowing that my PHP/MySQL experience was much more advance then it was a month ago. With about 14 hours of coding, trial & error, troubleshooting, running breaks (for my sports), I finally finished about 9pm tonight. My previous hacks are what helped me alot to create this one, even though they weren't all that good, it gave me the experience needed by trial & error to create a really good hack. And as with me I'm also very persistant in my coding and designing, not to give up so easily. A lesson alot of use could use *cough* Neo *cough*

Uh, anyway, getting alittle side tracked. This hack will give your users the option to choose a mood every time they post a new reply, new thread, or edit their post. These moods are in the form of images, and can be whatever images you want. It's fully integrated into the ACP (admin control panel), and should be easy to install and use.



Features:
  • Moods are based are on smilies!
  • Set a message for your mood, that will show up on mouseover of your mood icon! This mood message is filtered by the censored using your vBulletin censor list. If you don't want a mood message, it's easy to code out.
  • Moods can be set by newreply, newthread, and edit post screens.
  • Add/Modify/Delete moods via the ACP (admin cp)
  • Deleting moods via the ACP that are being used in the forum will remove them from those posts (instead of leaving you a annoying box with a red x in it).



Could this make a good add-on for Lesane store hack?
Yes it could! But I have no intention on implementing it myself, so please don't ask so in this thread.

Screenshots?
Screenshots can be found in the next few posts.

Bugs?
None that I know of, but if you find any please let me know!



-----------------------------------------

Attached is the zip, with instructions inside. The instructions for this hack took damn long to make, so please if you used this hack CLICK INSTALL

Suggestions and comments are always welcomed

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-05-2002, 10:06 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet one, I instantly removed my own mood hack and installed this
  #23  
Old 08-05-2002, 11:20 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alrighty, I just made two add-ons for Firefly's & Nakkid's quick reply hacks. It looks very nice also.

I personally am using Nakkid hack, which you can see a screenshot of it attached.

The zip has been updated, so go check it out (note: you might have to clear your cache if you can't find the files in the zip).
  #24  
Old 08-06-2002, 12:14 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, thanks.
  #25  
Old 08-06-2002, 01:00 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a very small bug in the quick reply I just noticed (Nakkid quick reply). If you take a look at my screenshot attached in post #22 you can see that the mood message field says "mood message..", well..if your user doesn't want a mood message and at defaults just selects a mood and hits submit, then their mouseover text will say "mood message..".

So to fix this, in newreply.php find:
PHP Code:
$usermoodmessage censortext($usermoodmessage); 
And below it place:
PHP Code:
if($usermoodmessage == "mood message..")
       {
       
$usermoodmessage '';
       } 
Replace the "mood message.." part with whatever text you have. If you have no text in it, then don't even use this fix. :P
  #26  
Old 08-06-2002, 01:54 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cute one. great job.
  #27  
Old 08-06-2002, 03:42 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx

I'm sure this hack will become a hit any minute now..I can sense it... ^_^'
  #28  
Old 08-06-2002, 08:10 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got FireFly's quick reply hack installed, and I'm looking at the instrucations for FireFly's add-on. It says to look for this in (I assume) showthread.php:

Code:
Now find:
---------------------------
forumdisplay_loggedinuser,forumdisplay_loggedinuser
---------------------------

And replace it with:
---------------------------
newposting_usermoodbits,forumdisplay_loggedinuser,forumdisplay_loggedinuser
I can't find this in showthread.php, or isn't that where I should look? My guess would be forumdisplay.php but it doesn't say so.

Edit: Yes, I changed that info in forumdisplay.php and it works fine.
  #29  
Old 08-06-2002, 09:12 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Martin, it wont help you to change the info in forumdisplay, because the templates are not being called there.

In showthread.php, search for this instead:
PHP Code:
// ##############################################################################
// ############################# SHOW THREAD ####################################
// ##############################################################################

$templatesused 
And replace it with:
PHP Code:
// ##############################################################################
// ############################# SHOW THREAD ####################################
// ##############################################################################

$templatesused 'newposting_usermoodbits, 
That should work
  #30  
Old 08-06-2002, 10:12 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Velocd. Yeah, I suspected so. The hack worked with me adding it to forumdisplay.php though
  #31  
Old 08-07-2002, 03:56 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The whole alt message I type in isn't showing up :-\..It only shows 50 characters...
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04733 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete