vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=101000)

Annie^.^ 12-03-2005 10:03 PM

turned off and the error is still there

akanevsky 12-03-2005 10:10 PM

Michelle,
do you mind if I release my version of the hack? (based on the code of mine that you rejected). There is nothing wrong with this hack though, I just don't like the fact that there are extra queries :P

Snake 12-04-2005 11:48 AM

Quote:

Originally Posted by Psionic Vision
Michelle,
do you mind if I release my version of the hack? (based on the code of mine that you rejected). There is nothing wrong with this hack though, I just don't like the fact that there are extra queries :P

Hey that would be great. I'll be waiting for it. :D

Annie^.^ 12-04-2005 12:35 PM

Hi Michelle

Uninstalled the the addon I had by Psionic Vision.

I found the problem. It didn't appear after I updated your script because I had no new refferal. The problem is with the Dates;

When the date set to DD-MM-YYYY all refferal shows up, but as soon as I change it to 01-12-2005 all I get is error and the new refferals are not displayed.

Any idea?

Lea Verou 12-04-2005 01:44 PM

Darn it seems that many have a problem with the dates. I'll try to find the problem later. :)

Psionic Vision my hack adds only 2 queries. Not much would be accomplished by making it one but do as you wish :)

Annie^.^ 12-04-2005 04:57 PM

Yes, that is what seems to be the problem

Annie^.^ 12-05-2005 10:24 PM

any luck michelle?

Lea Verou 12-06-2005 09:39 AM

Nope, I can't find what's wrong :(

Snake 12-06-2005 12:05 PM

Just keep on trying. ;)

Lea Verou 12-06-2005 12:31 PM

Can you please tell me if it works at anyone?
Do you all have this problem?

evenmonkeys 12-06-2005 05:33 PM

I have the same problem.

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 173

Warning: Invalid argument supplied for foreach() in /referrers.php on line 174

Lea Verou 12-07-2005 03:15 AM

Quote:

Originally Posted by xYarub
I have the same problem.

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 173

Warning: Invalid argument supplied for foreach() in /referrers.php on line 174

aYarub do you have the latest version?
If so, then it's because of the time limit combined with no results that you probably have...
I'll try to fix it but exuse me I have a trip today... :o

Dead End Society 12-07-2005 11:43 PM

I uninstalled it because the referras were not the same, I'll be keeping an eye out on this thread though, this hack would be great.

RMS-Chef 12-08-2005 04:53 AM

Quote:

Originally Posted by Michelle
Can you please tell me if it works at anyone?
Do you all have this problem?

I still have the issue as stated in Post #39 of this thread.
I still keep this installed to show overall referrer stats but can't use it for my contests.
Would be nice if I could get the date range to work since the contests are going pretty darn well. The capture is from November 14th till today. And I prune unactivated accounts that are not confirmed via email after 7 days.

nexus851 12-08-2005 06:10 AM

Quote:

Originally Posted by Psionic Vision
Yes, you should :)


Ok, here's what you gotta do.

Somewhere in your file after inclusion of global.php put this:

PHP Code:

if (isset($vbulletin->userinfo['invites']))
// Psionic Vision's Invite Hack Installed, Adjust Template Settings
    
if ($canmanageinvites AND ($vbulletin->userinfo['invites'] > OR !$vbulletin->options['invites_reg_only_by_invite']))
    {
        
$show['invites_link'] = 'c_psi_inv_link';
        
$show['invites_left'] = ($vbulletin->options['invites_reg_only_by_invite'] ? true false);
    }
    else
    {
        
$show['invites_link'] = false;
        
$show['invites_left'] = false;
    }
}
else
// Psionic Vision's Invite Hack Not Installed, use e-steki link
    
$show['invites_link'] = 'c_def_link';
    
$show['invites_left'] = false;


And then, in template:

HTML Code:

<if condition="$show['invites_link'] == 'c_def_link'">
        YOUR CURRENT HTML CODE
<else />
        <if condition="$show['invites_link'] == 'c_psi_inv_link'">
        <!-- ############## INVITES LINK ##############  -->
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="tcat">$vbphrase[invites_issue_new_invite] <if condition="$show['invites_left']"><phrase 1="$bbuserinfo[invites]">($vbphrase[invites_x_left])</phrase></if></td>
        </tr>
        <tr>
                <td class="alt1"><span class="smallfont"><a href="invites.php?$session[sessionurl]">$vbphrase[invites_click_here_to_invite_new_users]</a></span></td>
        </tr>
        </table>
        <br />
        <!-- ############## END INVITES LINK ##############  -->
        </if>
</if>

P.S. Just noticed - nice threadid :) I put that ID in my hack so that it is linked to yours (listed in add-ons in your top post). If you put my ID in, you hack will be listed on my page.
P.P.S. If you are confused, don't worry about variables in my code. They are defined in global_start by one of the plugins that make up the Invite System.


Very curious,... what does this mod do with the referral hack????????


Another thing, for the next edition... i think modify it alittle to look like "myspace.com" instead of links of people you brought under you, can you have an option to display pics or avatars of them in your profile MEMBERINFO template. What do u guys think?

trancetopia 12-13-2005 09:49 AM

Urgent - possible security hole?

Something about this extension is really concerning me. For the past couple of weeks, I have had a load of guests primarily from Japan and Russia constantly hitting referrers.php. Sometimes up to 10 sessions from the same location are persistantly viewing this page.

Can anyone explain what is going on? This is scaring me somewhat!!

Lea Verou 12-13-2005 09:52 AM

I have no idea but I'm now going to view where my guests are from...
You scared me too...
Can anyone determine if there is a security hole or not cause I'm not experienced enough to do so? :o

Lea Verou 12-13-2005 10:05 AM

I just saw that the percentages are very small (I had written them but the message timed out :()
Can you see where they come from? Perhaps somebody linked your site in a japanese/russian one? I think that's the most possible answer :confused:

trancetopia 12-13-2005 10:22 AM

I'm in work at the moment and due to firewall restrictions I can't access my cpanel as i've blocked a few ip's from there. When I get home, i'll get the ip's and post them.

I know the Jap one was from a Jap ISP and one of the russian ip's is from a virtual host that had a site layout from template monster with leads me to being a little concerned.

Lea Verou 12-13-2005 10:25 AM

You should definately check your referring pages to see who has linked you.
I don't have cPanel at my host so I don't know how it works or where you should look, but I hope you do and I'll wait till you have a look :)

trancetopia 12-13-2005 10:46 AM

I'll have a good dig around the log files tonight as well to see what I can find. I've just had another one on:

WOL Info: irrv1195.uplogon.com

Lea Verou 12-13-2005 10:51 AM

Argh :(
I had another idea, maybe they are some kind of bots and go there cause the link is on the first page? (quite lame theory, I know).

I guess I'll have to wait for the log files and the other statistics...

trancetopia 12-13-2005 02:08 PM

I've not finished work yet but the following has been hammering referrals.php all day:

mail.couchwhite.com

What is even more surprising is if you go to www.couchwhite.com it is a firm of solicitors/lawyers????

Now I'm getting more confused by what is going on.

Lea Verou 12-13-2005 06:13 PM

Then I don't think it will be something harmful... :)
Unless it's faking another IP address... Could that happen?
Urgh, I just wish I knew more about security issues :(

trancetopia 12-13-2005 07:18 PM

I'll have a dig at the logs when I get chance. There's never enough time to do anything :)

I've blocked the two new offenders ip's from accessing the server and no probs at the moment.

I'm still curious to why people would be so interested in access this extension continuously!! There isn't anything they can get from it that they can't from the normal members list.

Not to worry, the ip blocking is working a treat and I don't want to remove this extension as I think it's great and my members like it.

When I get chance to view the logs i'll post the findings and maybe something show us what is going on :)

Thanks for the help Michelle.

Lea Verou 12-13-2005 07:34 PM

Well there is something that they can't see on the memberlist (unless you hacked it): Who referred whom. Perhaps they are interested in that for some reason? :ermm:
However I think that the probable cause is a link to it in a site.
Btw how many of them did you have?

Quote:

Thanks for the help Michelle.
I wish I had offered any help but I don't think I did :(:disappointed:

trancetopia 12-13-2005 09:13 PM

I have 4 ips in total but what raised the alarm bells for me was a hosting site in Russia had about 10+ guest sessions all accessing the referrers.php page at the same time for hours.

The other was the Jap ISP, same thing there as if it was some sort of attack.

mikepmm 12-14-2005 07:25 PM

Warnung: Invalid argument supplied for foreach() in /referrers.php (Zeile 163)

Warnung: arsort() expects parameter 1 to be array, null given in /referrers.php (Zeile 173)

Warnung: Invalid argument supplied for foreach() in /referrers.php (Zeile 174)

The last days the hack works fine but now i visit the referrers.php and see the
errors above

Please help !

greeting's from Germany

mikepmm

mikepmm 12-18-2005 12:43 PM

no support ?
is there an other hack for 3.5x that do the same ?

mikepmm

mikepmm 12-18-2005 12:54 PM

ok I found it :-)

https://vborg.vbsupport.ru/showthread.php?t=102452

vbulletin and photopost - http://www.aminotsweet.de

wolfyman 12-20-2005 09:30 PM

Worked like a charm, thanks!

tommyxv 12-21-2005 01:04 AM

I want to rename the referrers.php, is it that simple or do i have to change it else where too?

Lea Verou 12-21-2005 10:23 AM

Quote:

Originally Posted by tommyxv
I want to rename the referrers.php, is it that simple or do i have to change it else where too?

Just rename it :)

GuaRRand 12-23-2005 05:35 AM

Works great....
thnx

wolfyman 12-24-2005 12:07 AM

Code:

Warning: Invalid argument supplied for foreach() in /referrers.php on line 159

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 169

Warning: Invalid argument supplied for foreach() in /referrers.php on line 170

It worked fine untill I tried to add a cutoff date of 22-12-2005. Any ideas?

Lea Verou 12-24-2005 12:09 AM

Quote:

Originally Posted by wolfyman
Code:

Warning: Invalid argument supplied for foreach() in /referrers.php on line 159

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 169

Warning: Invalid argument supplied for foreach() in /referrers.php on line 170

It worked fine untill I tried to add a cutoff date of 22-12-2005. Any ideas?

Damn, I thought I had fixed that :(
It happens because there are no referrers/referrals to display :(

wolfyman 12-24-2005 12:27 AM

Quote:

Originally Posted by Michelle
Damn, I thought I had fixed that :(
It happens because there are no referrers/referrals to display :(


Ah, not so. I know for a fact there have been at least 8 referals that signed up via the correct link since yesterday, because they all show up on the referral list when I set the cutoff back to 0. I tried setting it back to the 21st in case the exact sign up date was affecting it, but that didn't work either.

It just wacks out when I add a date.

Lea Verou 12-24-2005 12:29 AM

Quote:

Originally Posted by wolfyman
Ah, not so. I know for a fact there have been at least 8 referals that signed up via the correct link since yesterday, because they all show up on the referral list when I set the cutoff back to 0. I tried setting it back to the 21st in case the exact sign up date was affecting it, but that didn't work either.

It just wacks out when I add a date.

Damn, I'll have to fix that, I think others have it too...
And damn^2: I see that Psionic Vision is looking at the thread :( :p :p

Lea Verou 12-24-2005 12:34 AM

Can you try this please and tell me if it works?

akanevsky 12-24-2005 01:33 PM

Quote:

And damn^2: I see that Psionic Vision is looking at the thread
Why would that be a "damn"? :p


All times are GMT. The time now is 03:48 AM.

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.03798 seconds
  • Memory Usage 1,840KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_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