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)

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 :)


All times are GMT. The time now is 08:59 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.01374 seconds
  • Memory Usage 1,760KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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