Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #62  
Old 09-30-2002, 06:58 PM
isman isman is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I followed your directions to the letter and I'm also getting the SQL error when trying a new post.
Quote:
Database error in vBulletin 2.2.7:

Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,MOOD,allowsmilie,showsignature ,ipaddress,iconid,visible,usermoodid,usermoodpath, usermoodmessage) VALUES (NULL,'3024','Testing Mood Hack','Mr. Snuffaluffagus','25','1033415622','0','What does this look like?','','1','0','134.215.235.175','0','1','5','i mages/moods/smile.gif','')
mysql error: Unknown column 'MOOD' in 'field list'

mysql error number: 1054

Date: Monday 30th of September 2002 03:53:42 PM
Script: http://www.aparentsheart.com/bbtest/.../newthread.php
Referer: http://www.aparentsheart.com/bbtest/newthread.php
Any suggestions?

I verified the tables were created and modified correctly.
  #63  
Old 10-01-2002, 02:38 AM
isman isman is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, had some remnants of a previous mood hack in there.

*slinks over to hit the install button*
  #64  
Old 10-07-2002, 03:06 PM
Pancreas Paul Pancreas Paul is offline
 
Join Date: Sep 2002
Location: OH
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

umm, were is the mood icons? I dont have them. Help.
  #65  
Old 10-08-2002, 12:26 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are none provided, you have to go through the incredible journey of finding them yourself

A good set to use is Dark Project Studios smilies for your moods, but you have to ask him permission first. Just click on the link in vBulletin.org footer.
  #66  
Old 10-09-2002, 06:28 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could we just use some our current smilies? If I change the code to point to images/smilies instead of images/mood then I can use those, right? But my questions is, where it says "add modd" is that like the "add smilie" that even though there may be tons in the folder, you can still decide which to use, right? Because if that is the case I will just use some of my current smilies and not go hunting for more
  #67  
Old 10-09-2002, 10:37 PM
Sinzar Sinzar is offline
 
Join Date: Aug 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 2.2.7:

Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmili e,showsignature,ipaddress,iconid,visible,usermoodi d,usermoodpath,usermoodmessage
) VALUES (NULL,'267','','Matrix','1','1034206747','0','test ing','1','1',''24.103.236.179' ,'0','1','1','images/moods/cry2.gif',''
)
mysql error: You have an error in your SQL syntax near '24.103.236.179','0','1','1','images/moods/cry2.gif',''
)' at line 2

mysql error number: 1064

what do I do?
  #68  
Old 10-17-2002, 08:32 PM
Joe Page Joe Page is offline
 
Join Date: Sep 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vB 2.2.8 and the last edit isn't there, please help (I'm referring to the postbit edit, the code which you have to edit is not there)
  #69  
Old 11-10-2002, 06:29 PM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks m8. Nice job. Can sure use it .
  #70  
Old 11-11-2002, 03:19 PM
teenfront teenfront is offline
 
Join Date: Nov 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack is it possible to make it so that although custom mood text is not entered the text from the drop down appears alongside the smilie?

cheers,
n
  #71  
Old 12-09-2002, 06:49 PM
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get parse errors on the very first step installing this on v 2.2.9. You have:

Code:
//highlight words for search engine
And add above:

Code:
/////////__vBmood by Velocd__/////////



if($post[usermoodid]){

eval("\$postmood = \"".gettemplate("postbit_mood")."\";");_}



/////////__vBmood by Velocd__/////////
I do that, and get a parse error on line 315, which happens to be eval("\$postmood = \"".gettemplate("postbit_mood")."\";");_}. Not sure what to do now, so I had to uninstall it. Looks really nice, though.
Closed Thread

Thread Tools

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 05:50 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.08910 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (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