![]() |
Cyb - Members Mood
1 Attachment(s)
Info:
This will show membership mood for current day. Members can vote for one of five options (mood 1-5) once a day. Total votes/average mood are shown in stats. Total votes are also shown in percents using graphical bar. Votes are automatically reseted every midnight. You can change time period in Scheduled Task Manager. You can enable adding of default vote automatically after reset. SuperAdmins can reset stats/votes manually and see log. You can ban usergroups and individual members from voting and seeing mood bar. Installation: 1. Upload folder "cyb_vmood" to your forum root, then CHMOD "cyb_vmood_votes.csv" to "777". 2. Upload "cvm_reset.php" to \includes\cron folder. 3. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] To set options: Go to: AdminCP > vBulletin Options > Cyb - Members Mood To put it on different page: -You can have Mood bar shown on 2 pages It's shown by default on forumhome (to disable it set option "Mood Box Placement" to "None") To activate second location: a) type location-name in "Additional Location" field Explanation: When you open some vBulletin php file you'll see this at the top - "define('THIS_SCRIPT', 'XXX');" XXX is location-name we need. It's usually the same as php filename (without extension, of course) b) add "$cyb_vmood" to the template called on page where you wish to have stats shown Versions: v1.0 - Nov 27. 2006. -Initial Release v1.1 - Nov 30. 2006. -Changed hack name to 'Cyb - Members Mood' -Now only members can vote -Now each member can vote only once a day (you can change time period in Scheduled Task Manager) -Added two more options for voting, removed icons and changed options to numbers (1-5) -If user has voted already then 'you've already voted...' message and vote info is shown instead of vote options -Added option to view log in popup window (included info: time of voting, userid, userip, mood) - SuperAdmins only -Added option to ban individual members from seeing Mood bar and voting -Some small improvements in code v1.2 - Dec 01. 2006. -Fixed bug (stats wrong because of bug in vote status check code) -Added Auto-Vote option (this will add default vote after stats are reseted) -Added options to enable/disable Auto-Vote and define default mood v1.3 - Dec 01. 2006. -Fixed bug (wrong "your mood" info) -Added username info to log v1.4 - Jul 23. 2007. -Logs enabled for cron job -Improved way of reseting votes -Security exploit fixed v1.5 - May 03. 2008. -Compatible with vBulletin 3.7 -Minor bugs fixed Click INSTALL if you like this hack. |
nice hack, thank you.
|
:up: installed :up: pretty cool..
only wish the bar was larger, and less text on the sides. |
Thanks for this,, really appreciate ur time taken,
CHeers thearve |
very intresting
|
This isnt working...
|
What's '777' ? and where is it ?
thanks |
I get the following error:
Warning: file(http://www.*****.com/forum/cyb_vmood...mood_votes.csv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in [path]/misc.php(100) : eval()'d code on line 137 Warning: Invalid argument supplied for foreach() in [path]/misc.php(100) : eval()'d code on line 139 Warning: fopen(cyb_vmood/cyb_vmood_votes.csv) [function.fopen]: failed to open stream: No such file or directory in [path]/misc.php(100) : eval()'d code on line 151 Warning: fwrite(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 152 Warning: fwrite(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 153 Warning: fclose(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 154 Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3254) in [path]/includes/functions.php on line 3087 Can anyone please help ? Thanks |
does anyone knows how to integrate this in vbadvanced ?
|
How many queries does this add to the page load?
|
None.
|
nice hack, thank you!
installed |
nice mod
*Installed* |
Quote:
Not working on vB 3.8.2 / vBa 3.1.0 for me. |
nice mod
thank u |
Installed, using VB 3.8.2. Flawless!
|
Marked as Installed. Looks great! Is it possible to remove the "Customize this page" message?
|
Can't make it work.
I get the following. cyb_vmood/cyb_vmood_votes.csv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in [path]/misc.php(100) : eval()'d code on line 641 Warning: Invalid argument supplied for foreach() in [path]/misc.php(100) : eval()'d code on line 643 Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3277) in [path]/includes/functions.php on line 3087 :( |
I know, me 2. But if you will look on page 1 you can see that usually the errors are not taken into account for a response. Which means that I doubt we will ever get an answer for them - unfortunately this made me to uninstall the hack. The support is granted only in the specifications of the mod, not in reality.
|
Going to have to try this one. Great concept! Anyone tried it on 3.8.4?
|
yes works perfect on 3.8.4 pl1 great... if you are on a linux server cyb_vmood_votes.csv file needs 755 not 777
|
Quote:
|
works great on 3.8.1
|
Very nice mod installed and working great!!!!!
|
Quote:
The problem part is: PHP Code:
$ccsv_data PHP Code:
$csv_data PHP Code:
It can be a misprint or it can be done specially. If it was a missprint then the fix is: PHP Code:
PHP Code:
|
thanks i like it .
|
i am new to some of this can you tell me where CHMOD "cyb_vmood_votes.csv" to "777". is thanks ??? 5Stones
|
I am trying to add the Cyb - Members Mood and it tells me to Upload folder "cyb_vmood" to your forum root, then CHMOD "cyb_vmood_votes.csv" to "777".
I up loader it t my sever on images but i dont know where to put the CHMOD "cyb_vmood_votes.csv" to "777".... I have it all added to my site but when i put my mood in it gives me this Warning: fopen(cyb_vmood/cyb_vmood_votes.csv) [function.fopen]: failed to open stream: No such file or directory in [path]/misc.php(100) : eval()'d code on line 1904 Warning: fwrite(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 1905 Warning: fwrite(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 1906 Warning: fclose(): supplied argument is not a valid stream resource in [path]/misc.php(100) : eval()'d code on line 1907 Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3277) in [path]/includes/functions.php on line 3103 Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3277) in [path]/includes/functions.php on line 3108 can any one help me Thanks 5Stones |
You'll have to use either an FTP client that allows you to change the permissions of a file or have shell access to the server and use the unix chmod command. Do google searches on these if they don't make sense and then post any further questions.
|
thanks a lot for the reply ,,, i have Cute ftp and File Zilla FTP will they do what you are saying ? and how would i do it if they will ... do just change the folder name Thanks a lot 5Stones
|
i added it but had to take it off i didnt know the way to change the one file...But ill learn then ill add it ..Thanks
|
All times are GMT. The time now is 04:54 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:
|