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)

Spyke 02-02-2005 05:02 PM

hi, i used the upgrade script to upgrade from v2.0 and i can't get to the referral settings in the admincp and the templates havent changed and i'm getting this error viewing the referral page now.

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

Any ideas? Maybe if i unistalled it and reinstalled?

rrr 02-02-2005 09:07 PM

Does this script track how many posts the referrals have made?

I'd like to only give "credit" for a referral if they are active and have made at least X number of posts.

Is this possible?

gspot 02-02-2005 10:04 PM

Quote:

Originally Posted by Spyke
hi, i used the upgrade script to upgrade from v2.0 and i can't get to the referral settings in the admincp and the templates havent changed and i'm getting this error viewing the referral page now.

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

Any ideas? Maybe if i unistalled it and reinstalled?


actually some of the templates have changed. You can try uninstalling it, then doing a re-install, but you need to edit your /admincp/index.php file to reflect the changes that were made to it in order to view the "referral statistics" under the admincp. Try it let me know..

gspot 02-02-2005 10:05 PM

Quote:

Originally Posted by rrr
Does this script track how many posts the referrals have made?

I'd like to only give "credit" for a referral if they are active and have made at least X number of posts.

Is this possible?

Yes, this is an option in this new version. Check out the screen shots. :)

gspot 02-02-2005 10:05 PM

Please Click Install If You Install My Hack Please.. :)

rrr 02-02-2005 10:19 PM

Quote:

Check out the screen shots.
I looked at the screenshots, but I didn't see any images that had number of posts information. I may have missed it though.

If it does have this, it is exactly what I've been looking for.

Spyke 02-03-2005 01:42 AM

Quote:

Originally Posted by gspot
actually some of the templates have changed. You can try uninstalling it, then doing a re-install, but you need to edit your /admincp/index.php file to reflect the changes that were made to it in order to view the "referral statistics" under the admincp. Try it let me know..

Ok, i uninstalled it and reinstalled it and everythings working fine now. Thanks. Great mod :)

moethelawn 02-04-2005 11:30 PM

After upgrading the hack, all of a sudden it works like a dream...

Thanks for the upgrade, gspot

mindbuster 02-06-2005 02:08 AM

Umm, before i install, does this work with the uCASH/uSHOP store hack ?

In the store hack members get points from referrals, anyone know if it would work with that ?

gspot 02-06-2005 02:58 AM

Quote:

Originally Posted by mindbuster
Umm, before i install, does this work with the uCASH/uSHOP store hack ?

In the store hack members get points from referrals, anyone know if it would work with that ?

This has nothing to do with any other hack. This will just show you referral statistics. I would assume that it works with ucash/ushop without any problems, because it doesnt even have anything to do with it. If some one referrers somebody else, then they get points for that referral towards the shop, this just keeps track of who has referred who, ect.. Just a good hack if your looking for referral statistics. :) SO CLICK INSTALL AND INSTALL IT...

mindbuster 02-06-2005 09:51 AM

Quote:

Originally Posted by gspot
SO CLICK INSTALL AND INSTALL IT...

No.....

Ill install it THEN click install :cool:

mindbuster 02-06-2005 09:59 AM

Umm, wait a minute....

rrr asked this...

Quote:

Does this script track how many posts the referrals have made?

I'd like to only give "credit" for a referral if they are active and have made at least X number of posts.

Is this possible?
You replied....

Quote:

Yes, this is an option in this new version. Check out the screen shots.
Umm, how would this work with the store hack ?

The store hack gives credits (points) as soon as someone refers someone, this hack makes it possible to wait with referral count until a set number of posts have been made by the referred.

Is that set number of posts only for the statistics ? wouldnt the store hack just give the referrer his reward instantly ? Or would the referrer get his points when the referred had made a certain amount of posts ?

gspot 02-06-2005 03:39 PM

It would work as normal. However the other hack works now. It makes no change to that hack or how it works. So all this does is show statistics on who has referred whom and YES you can limit the results shown to how many posts they have made or what usergroups they are in... :) Your other hack will run like it does now...

stumparoooo 02-06-2005 11:26 PM

nvm..figured it out..

*clicks install*

'Love the hack..Thanks!

KanyeWest 02-07-2005 09:37 PM

its installed but when iclick it ... it goes to my homepage www.idenonfire.com how do icahnge that so i goes to refferal :ermm:

gspot 02-07-2005 10:58 PM

Quote:

Originally Posted by KanyeWest
its installed but when iclick it ... it goes to my homepage www.idenonfire.com how do icahnge that so i goes to refferal :ermm:

Ok edit this in your footer template. This is your problem see this?
http://www.idenonfire.com/"referrals.php/"

- That is the link that its trying to call... You need to edit this to be:
http://www.idenonfire.com/referrals.php

That will fix it :)

KanyeWest 02-07-2005 11:11 PM

idn it wont work for me can u sign up at my site and make u admin and u can fix it it wont work for me :ermm:

gspot 02-08-2005 05:27 AM

Quote:

Originally Posted by KanyeWest
idn it wont work for me can u sign up at my site and make u admin and u can fix it it wont work for me :ermm:

Actually sorry - Change the footer template from above to this:
http://www.idenonfire.com/forums/referrals.php

- I didn't see that your forum was in the /forums/ directory. Do this and your fixed. :)

If you follow the link that I posted above you will see an error at the top of the page. This is because you need to set the path to your forums directory in the "referral statistics settings" under the admincp if you dont know how to find this, please check the installation instructions. You must follow all the steps of the installation instructions in order to install this hack correctly. There is no need to have me as an admin at your site and just for a heads up, dont offer that to anyone!! :( Someone could really screw-up your site on purpose or not. :(

But let me know how this works for you. It should take care of all your problems. :) :)

Battle_Ring 02-12-2005 02:12 AM

Help

i just did this and on the referral page my skin images are liek this

http://battle-ring.com/forums/referr...r_ls_blank.gif

Battle_Ring 02-12-2005 03:04 AM

111
1
1Never Mind I Got It i had to take the / off from referral.php i nthe footer

ombossman 02-13-2005 01:15 PM

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


how to solve this problem :rolleyes:

gspot 02-13-2005 04:46 PM

Quote:

Originally Posted by ombossman
chdir(): No such file or directory (errno 2) in /referrals.php on line 18


how to solve this problem :rolleyes:

By reading the instructions...... :( !!!!!!

You have to set the full vbulletin path in your admincp under referral statistics and then configure referral statistics. That will fix your problem which has already been addressed i dont know how many times before your post. Take the time and read the instructions and other peoples posts, because many issues will have already been addressed. :)

gspot 02-13-2005 04:47 PM

By the way - CLICK INSTALL IF YOU INSTALL MY HACK :)

hitmanuk2k 02-16-2005 05:22 PM

I don't know why, but installing this seems to have killed my scheduled tasks... Any ideas?

lifesourcerec 02-16-2005 05:45 PM

says it saves the absolute path, but it doesn't.

So, I still get this:

Quote:

Warning: chdir(): No such file or directory (errno 2) on line 18

Warning: Division by zero on line 45
And yes, I put in absolute path, number of pages and click save. But still get that error.. After hitting save, it still says: "ERROR: You must set your vbulletin path!"

Won't save it. Is there a way to manually add it to the database?

gspot 02-16-2005 09:12 PM

Quote:

Originally Posted by hitmanuk2k
I don't know why, but installing this seems to have killed my scheduled tasks... Any ideas?

This shouldnt affect the scheduled tasks, it has nothing what so ever to do with it. You might want to try to run a database repair and optimization in the admincp panel.

gspot 02-16-2005 09:14 PM

Quote:

Originally Posted by lifesourcerec
says it saves the absolute path, but it doesn't.

So, I still get this:



And yes, I put in absolute path, number of pages and click save. But still get that error.. After hitting save, it still says: "ERROR: You must set your vbulletin path!"

Won't save it. Is there a way to manually add it to the database?

Can you please post some images of the following pages: Your admincp referral configurations page & the referral statistics page in general in the admincp where you are seeing this error?

It successfully added the path, since you aren't seeing an error on the referral.php page. So I need to see what you are working with as far as your settings in general. If you would like, email me the screen shots so you dont have to show your full vbulletin path to the public.

lifesourcerec 02-17-2005 01:07 AM

Quote:

Originally Posted by gspot
Can you please post some images of the following pages: Your admincp referral configurations page & the referral statistics page in general in the admincp where you are seeing this error?

It successfully added the path, since you aren't seeing an error on the referral.php page. So I need to see what you are working with as far as your settings in general. If you would like, email me the screen shots so you dont have to show your full vbulletin path to the public.

I found the problem. I did it as an upgrade, but I was using an old version of referral statistics. Had to re-install as new and add the code in the function)online file.

VAN 02-17-2005 03:05 AM

Nice. No problems for me on 3.0.6. :)

Thanks!

Suggestions for next version...

-Sorting options (by username, referral count, etc)
-Adjust the design to look more like the default vB design. (table widths, pagenav, headings, etc.
-ability to toggle on/off show only those referred members who have been active within the past x days.

minerva1 02-22-2005 05:06 AM

What I would love to see in this hack:

-When a user is logged in, the url of any page they view is appended with "&ref=USERNAME" tag following the rest of the URL. This allows a person to paste that link on any other site or send it to a friend to refer them easily.

-Payment integration and tracking: Any referrals give the referrer a monetary reward of like $0.10-$1.00 per user if the referred user makes more than 5 posts or something. The admin can pay any user once their balance reaches a certain amount via paypal (this last part doesnt need to be integrated, just tracked)

With those two hacks, this would be the bestest hack ever cause everyone knows that if u motivate people through money, you'll get a lot more users much faster... :)

I'm willing to pay for these additions too gspot, if you're listening :D

deb0 02-22-2005 10:28 AM

I get a blank page in 306, can't figure out why. Installed from scratch several times.

Frustrated.

gspot 02-22-2005 01:33 PM

what is 306?

SaN-DeeP 02-26-2005 01:54 PM

Upgraded forums to 3.0.7
Opening Referral Statistics in Admincp, gives a blank window on right pane ?

Any Idea ? (I am in a big hurry taking forums online, cant look much internally now..)

Regards,

Battle_Ring 02-26-2005 05:47 PM

how can i change how many it shows on the referral stats page??

gspot 02-27-2005 12:17 AM

Quote:

Originally Posted by SaN-DeeP
Upgraded forums to 3.0.7
Opening Referral Statistics in Admincp, gives a blank window on right pane ?

Any Idea ? (I am in a big hurry taking forums online, cant look much internally now..)

Regards,

sandeep - verify that referralstats.php is in the /admincp directory and also make sure that you have edited the index.php file in the /admincp as well to reflect this hacks installation instructions. Let me know. :)

gspot 02-27-2005 12:18 AM

Quote:

Originally Posted by Battle_Ring
how can i change how many it shows on the referral stats page??

If you read the instructions it will tell u, however you need to edit the referral statistics configuration in the admincp and you will see where it specifically says how many results per page. This is where you would edit this. :)

SaN-DeeP 02-27-2005 10:31 AM

Quote:

Originally Posted by gspot
sandeep - verify that referralstats.php is in the /admincp directory and also make sure that you have edited the index.php file in the /admincp as well to reflect this hacks installation instructions. Let me know. :)

Hi gspot,
Glad to see your quick reply.

I have not touched referralstats.php, it lies in my admincp dir
index.php and other file edits have been done appropriately.

Although, I noticed a small bug in install/upgrade files, I have modified the admincp dirs, somewhere while using the newinstallation or upgradation, I noticed the links were redirecting to /admincp and not the /modifiedadmincp dir.

Regards,

deb0 02-28-2005 04:09 PM

I am getting a blank page with clicking the link. For version 3.06, Has this been fixed yet?

Omega Prime 03-02-2005 06:08 PM

I also get the issue with the blank page, and I've used the installer and done the file edits =/

T3MEDIA 03-06-2005 10:57 AM

Hey Gee just got this when I tried to remove a user by name...

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT * FROM user WHERE username = 'Tina'
mysql error: Table 'mysite_-_s0c.user' doesn't exist

mysql error number: 1146

Date: Sunday 06th of March 2005 07:33:54 AM
Script: forums/admincp/referralstats.php
Referer:forums/admincp/referralstats.php
Username: T3MEDIA
IP Address: 64.31.112.17



All times are GMT. The time now is 11:03 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.01571 seconds
  • Memory Usage 1,836KB
  • 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
  • (18)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