vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Referral Statistics (https://vborg.vbsupport.ru/showthread.php?t=64469)

Megareus Rex 01-17-2005 06:13 PM

I just have one more question...would it be possible to add the # of refferals users have next to their name? I miss that feature...

gspot 01-18-2005 03:23 AM

REX - please re-download the hack. I have edited the ziped files to fix this problem that you are having. Please re-upload all new files and see if that works. The only file that was edited was the referrals.php

James - Give me a day or two and I will have an answer for you.. Sorry.

gspot 01-18-2005 11:18 PM

James - Please re-download the zip file, I have made some changes in referrals.php
Please re-upload this new file to your forum, will take care of that problem. Everyone else please do the same. File was edited for this problem on 1/18/05 - RESOLVED

James Goddard 01-19-2005 01:06 AM

That did the job! Thanks.

James

MajorFm.com 01-19-2005 12:59 PM

Code:

Warning: chdir(): No such file or directory (errno 2) in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/referrals.php on line 29
Get the above error on http://www.majorfm.com/forum/referrals.php

Please advise... this is after your fixes... :ermm:

gspot 01-19-2005 01:36 PM

Major - You are still required to edit this page to your vbulletin path. On line 29 of referrals.php it looks like you need to have the following:

chdir('/usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/');

MajorFm.com 01-19-2005 02:01 PM

Ok sorry, my bad, i didnt realise the upgrade overwritted the file, its fixed, thanks...

MajorFm.com 01-19-2005 02:17 PM

hmm... i think i still have problems... the admin panel doesn't look like your screen shot...?

Also i cant see the option to make the list more etc... currently it only shows me in the list.

http://img70.exs.cx/img70/204/ref3xe.jpg

Megareus Rex 01-19-2005 08:13 PM

Quote:

Originally Posted by gspot
REX - please re-download the hack. I have edited the ziped files to fix this problem that you are having. Please re-upload all new files and see if that works. The only file that was edited was the referrals.php

James - Give me a day or two and I will have an answer for you.. Sorry.

YES!!! Thank you!!!

Finally...this hack is looking GOOD :)

gspot 01-19-2005 09:36 PM

MAJORFM - you need to run the upgrade script that is in the zip file. This should solve your problems. Follow the instructions for upgrade exactly how they are written. Then let me know.

MajorFm.com 01-20-2005 11:46 AM

i did that again... as i did the first time...

Quote:

Referral Statistics Version 2.0 Upgrader
New Phrases were added.
All steps of this script were completed.

PLEASE DELETE THE FOLLOWING FILE FROM YOUR WEB SERVER:

- /admincp/install_referrals.php

FILE IS LOCATED IN YOUR ADMINCP DIRECTORY.

Click on "Exit" to exit this script and proceed with the rest of the required modifications.

Still doesnt work

gspot 01-20-2005 12:01 PM

copy and paste manually both templates into your template manager. For some reason your template that you are using isnt showing the updated one. Make sure you get both refer & referbit uploaded and then let me know. :)

aussiev8 01-20-2005 12:02 PM

i was wondering if there was any way i could get my mods to see this hack as well without giving them admin privlidges! my mods play a very active role in my website and think would benefit all of the mod/admin team!

MajorFm.com 01-20-2005 12:12 PM

Quote:

Originally Posted by gspot
copy and paste manually both templates into your template manager. For some reason your template that you are using isnt showing the updated one. Make sure you get both refer & referbit uploaded and then let me know. :)

Just did it manually, :ermm:

Now it gives me page numbers but only one person per page, and in the ACP, there still isnt a box to reset individual member ref's etc... and where is the option to display more then just one member per page?

gspot 01-20-2005 01:44 PM

Major - You really need to follow the instructions. Again in the referrals.php file there is a setting that will allow how many results you want to show per page. Find it and edit that. As far as the ACP - try re-uploading the file referralstats to your admincp area.

gspot 01-20-2005 03:19 PM

OK people I'm adding a few more new things to this hack, but I need some input from all of you. I'm adding the following: total users ever referred since joined - would you like to see this total in the admincp or allow your users to see this on the referrals.php page? Also what else would you like to see in both the admin and users referrals pages???

T3MEDIA 01-20-2005 09:40 PM

Quote:

Originally Posted by gspot
OK people I'm adding a few more new things to this hack, but I need some input from all of you. I'm adding the following: total users ever referred since joined - would you like to see this total in the admincp or allow your users to see this on the referrals.php page? Also what else would you like to see in both the admin and users referrals pages???

That is sweet but how about what I was asking for. the ability to see if the referrals actually refered someone.

That is the real object right? So it moves up users that have referals that bring in x each.

this option could be in admin cp. like referal pyramid?=x

aussiev8 01-20-2005 10:40 PM

and my suggestions :)
- pick a usergroup or user's that should be able to see and use this (pref user's as individuals). (just so moderators can see this as well)
- and you also need the ability to have what usergroup the referals are in, so you can tell if they're an active part of the community, i know you have posts.
- the join date of the referals
- and just a number in brackets showing the amount of people they've refered mark (4)
then you can click on mark and see who his refered!


i don't believe this to be to hard, just a few more sql statements.

gspot 01-21-2005 02:37 AM

aussiev8 - the moderators can see this, actually everyone is allowed to see these referral statistics the only thing they can't use or see is the reset referrals in the admincp. Is this what you are talking about??

Good ideas though...

MajorFm.com 01-21-2005 10:57 AM

Quote:

Originally Posted by gspot
Major - You really need to follow the instructions. Again in the referrals.php file there is a setting that will allow how many results you want to show per page. Find it and edit that. As far as the ACP - try re-uploading the file referralstats to your admincp area.

Ok fixed, thank u

djjeffa 01-23-2005 11:29 PM

ok now I got it to work but how can i get it to look like this showing more than one user per page

gspot 01-24-2005 03:26 AM

djjeffa - you need to read the instructions. You need to set the max results in the referrals.php page. This shows how many results per page. It is at default set to 1 result per page... :)

MajorFm.com 01-25-2005 10:04 PM

glad to see it wasnt only me that was blind... lol

djjeffa 01-25-2005 11:20 PM

Quote:

Originally Posted by MajorFm.com
glad to see it wasnt only me that was blind... lol

yea duhhhh lol
thanks guys worked great

Megareus Rex 01-26-2005 05:45 AM

gspot - great upgrade, except for one thing.

The auto-installer must've left out the phrases, because the entire admin CP section of it is phraseless. (even in the navigation window)

gspot 01-26-2005 01:49 PM

Quote:

Originally Posted by Megareus Rex
gspot - great upgrade, except for one thing.

The auto-installer must've left out the phrases, because the entire admin CP section of it is phraseless. (even in the navigation window)

I just checked the installer and its installing the phrases, database changes and settings correctly. Make sure you re-upload all the files and in the instructions there has been a change in the link that you needed to edit in the /admincp/index.php page. Edit your to reflect and I bet you get it to work. :)

Megareus Rex 01-26-2005 11:53 PM

Nope, the phrases just aren't there. I ran the installer again, and still no dice. Everything else is ok though.

What phrases are added by it? I could do it manually if neccessary...

gspot 01-27-2005 12:59 AM

Quote:

Originally Posted by Megareus Rex
Nope, the phrases just aren't there. I ran the installer again, and still no dice. Everything else is ok though.

What phrases are added by it? I could do it manually if neccessary...

Did you edit the link in the admincp/index.php file?? You really need to do this...It is different than what it was originally. Then perform a seach in phrases for all phases that contain "referrals" - let me know

Viks 01-27-2005 02:16 AM

Hi Gspot.
i finally did the upgrade to the new version.

Im having 2 small issues...

1. Can't see "referaal Statistics' option in admin panel. Its there... but hidden. See attached pic.

2. I do not get the full text on the configuration settings.!! what cud be missing? the phrases? how can I ad those?


3. what does RESET REFFERAL do now in the new version??? the option in admin panel under USERS. it open a BLANK page when i click on it. does it needs to be removed?


overall, :up:

gspot 01-27-2005 04:49 AM

viks - the "Reset Referral" needs to be removed, the $vbphrase for that line in /admincp/index.php was changed from $vbphrase['reset_referrals'] to $vbphrase['get_referrals'] that was the only change to this file.

I will add the manual addition of the phrases tonight to the zip file, so please re-download if you are having issues with the auto-installer.

gspot 01-27-2005 06:07 AM

who ever is having problems installing phrases - please re-download the zip file and upload the new auto-installer. Let me know if you still have problems...:)

Viks 01-27-2005 02:08 PM

I have upgraded again using the auto-installer.
This time around I see that 26 phrases have been added however the issue remains the same.

1. I have removed "reset referrals" as u suggested but "Referral Statistics" option un Admin Panel remain hidden (as per my pic above).

2. I still do not see any text in the right frame after seletcing "referral Statistics". (as my my second pic above).

:ermm: - any suggestions

Megareus Rex 01-27-2005 05:20 PM

:ermm: That fixed it for me, gspot! :)

Edit: I keep getting this error on referrals.php

Warning: chdir(): No such file or directory (errno 2) in /referrals.php on line 18

I have it chmod to 777, and set the path correct in the admin CP, but I still get it...

Viks 01-27-2005 07:26 PM

[QUOTE=Megareus RexWarning: chdir(): No such file or directory (errno 2) in /referrals.php on line 18

I have it chmod to 777, and set the path correct in the admin CP, but I still get it...[/QUOTE]

Goto Admin CP -> Users -> Referral Statistics
click configure refferal statistics

and then put the path to your referral.php here

mine is like this -
/hsphere/local/home/myname/mywebsite.com/forums

once u have the path OK u wont get the error message.

-

Megareus Rex 01-27-2005 10:39 PM

Thanks Viks, I was able to get it to work! (Actually, you just reminded me that another hack I had possessed the correct path to my vB forum, so I just copy/pasted :P)

gspot 01-28-2005 12:25 AM

For all of you that had problems installing the new phrases prior to 1/27/05 on "referral statistics Version 2.1" please download this file and upload it to your /admincp directory. Follow the instructions and then remove this file from your server.

** Please note: only run this file if you have already ran the auto installer and your phrases were not added **

The auto installer was fixed at 6:22pm pacific standard time on 1/27/05

Viks 01-28-2005 12:27 AM

Quote:

Originally Posted by gspot
The auto installer was fixed at 6:22pm pacific standard time on 1/27/05

Everthing is working perfectly.

Thanks Gspot.

good stuff and good support.

gspot 01-28-2005 12:46 AM

Everyone - There were some errors in some of the scripts on the new release. Please re-download the zip file and re-upload all the files. If you have already upgraded to this version, please just re-upload the new files to your server. You DONT need to run the install or upgrade script if you are already up-to-date.

THIS SHOULD BE THE LAST FIX FOR VERSION 2.1 :)

FIXED 1/27/04 - 6:30PM PST.

bi11i 01-28-2005 12:51 AM

what version are we on now? v2.1.1.1.1.1? (just poking at you a little....)

gspot 01-28-2005 01:02 AM

Quote:

Originally Posted by bi11i
what version are we on now? v2.1.1.1.1.1? (just poking at you a little....)

:) Ya I know.. It should be the final version of 2.1 :)


All times are GMT. The time now is 04: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.01891 seconds
  • Memory Usage 1,826KB
  • 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
  • (1)bbcode_code_printable
  • (10)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