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)
-   -   Miscellaneous Hacks - Cyb - Members Mood (https://vborg.vbsupport.ru/showthread.php?t=201297)

chick 10-17-2009 01:33 AM

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

SamirDarji 10-17-2009 02:57 AM

Quote:

Originally Posted by chick (Post 1901156)
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

Thank you! I will definitely keep note of that. :)

K4GAP 01-25-2010 07:03 PM

works great on 3.8.1

methos10 01-25-2010 08:36 PM

Very nice mod installed and working great!!!!!

Makc666 05-07-2010 07:57 AM

Quote:

Originally Posted by Schnee (Post 1875684)
Can't make it work.

I get the following.

There is a little bug in this mod.

The problem part is:
PHP Code:

            $ccsv_data fopen("cyb_vmood/cyb_vmood_votes.csv""r");
            
$csv_read fgets($ccsv_data);
            
$line_pos strpos($csv_read,'_Mood:');
            
$cvm_starttime substr($csv_read,5,$line_pos);
            
$cvm_starttime vbdate('d-m, H:i'$cvm_starttime);
            
fclose($csv_data); 

If we look more attentevly we will see that the first variable is:
$ccsv_data
PHP Code:

$ccsv_data fopen("cyb_vmood/cyb_vmood_votes.csv""r");
$csv_read fgets($ccsv_data); 

But at the end the other variable is used:
$csv_data
PHP Code:

fclose($csv_data); 

I really don't know why $ccsv_data is used.
It can be a misprint or it can be done specially.

If it was a missprint then the fix is:
PHP Code:

            $csv_data fopen("cyb_vmood/cyb_vmood_votes.csv""r");
            
$csv_read fgets($csv_data);
            
$line_pos strpos($csv_read,'_Mood:');
            
$cvm_starttime substr($csv_read,5,$line_pos);
            
$cvm_starttime vbdate('d-m, H:i'$cvm_starttime);
            
fclose($csv_data); 

If it was done specially then the fix is:
PHP Code:

            $ccsv_data fopen("cyb_vmood/cyb_vmood_votes.csv""r");
            
$csv_read fgets($ccsv_data);
            
$line_pos strpos($csv_read,'_Mood:');
            
$cvm_starttime substr($csv_read,5,$line_pos);
            
$cvm_starttime vbdate('d-m, H:i'$cvm_starttime);
            
fclose($ccsv_data); 

For myself I chose the first fix.

Jaber190 05-07-2010 10:53 AM

thanks i like it .

Fivestones 06-07-2010 11:18 PM

i am new to some of this can you tell me where CHMOD "cyb_vmood_votes.csv" to "777". is thanks ??? 5Stones

Fivestones 06-08-2010 03:04 AM

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

SamirDarji 06-08-2010 04:41 PM

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.

Fivestones 06-08-2010 06:54 PM

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


All times are GMT. The time now is 02:09 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.01127 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_php_printable
  • (2)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
  • (10)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