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)
-   -   Shows List of other sites linked to your forum (https://vborg.vbsupport.ru/showthread.php?t=105220)

Mr.D 01-18-2006 05:09 AM

Quote:

Originally Posted by payamix1
I don't know what is your problem with template, but it's possible to use only referral.php page and ignore template changes.

About showing your page as a referral, I think your forum placed in other sub domain, anyway you can censor your domain name in Admin CP to avoid insert your domain name in the list.

I have a right collumn on hqfun.com and when i put this code that needs to show me who is linking to me i got nothing you can see for your self on hqfun but when i put it below who is on it shows how is that?

<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('referral_links')"><img id="collapseimg_referral_links" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
$vbphrase[referral_links_title]
</td>
</tr>
</tbody>
<tbody id="collapseobj_referral_links" style="$vbcollapse[collapseobj_referral_links]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/poll_posticon.gif" alt="$vbphrase[stats]" border="0" width="26" height="26" /></td>
<td class="alt1" width="100%"><div class="smallfont">$showreferrallinks</div></td>
</tr>
</tbody>

Rickie3 01-18-2006 06:00 AM

thanxs you *installed*

payamix1 01-18-2006 06:42 AM

Dear Mr.D,
You changed default FORUMHOME template, So I think you should Ignore template changes and use referrals.php page instead.

MPDev 01-18-2006 12:34 PM

Thanks, just what I was looking for (although I took out the forumdisplay portion).

Would be nice if the referrer page grouped the results by URL and placed them together (so all the google.com showed together versus mixed all over).

MPDev 01-18-2006 04:25 PM

Since you don't seem to use the URL variable, maybe you would use it as:

Code:

$url        = parse_url($_SERVER["HTTP_REFERER"]);
$url        = $db->escape_string(strtolower($url['host']));

and store the domain of the referring url so you can group them together?

I didn't see the field url being used anywhere, so doing that allows me to group the domains.

Mr.D 01-18-2006 04:48 PM

Quote:

Originally Posted by payamix1
Dear Mr.D,
You changed default FORUMHOME template, So I think you should Ignore template changes and use referrals.php page instead.

ok Thanks

payamix1 01-18-2006 04:50 PM

Quote:

Originally Posted by MPDev
Since you don't seem to use the URL variable, maybe you would use it as:

Code:

$url        = parse_url($_SERVER["HTTP_REFERER"]);
$url        = $db->escape_string(strtolower($url['host']));

and store the domain of the referring url so you can group them together?

I didn't see the field url being used anywhere, so doing that allows me to group the domains.

I used this instead :

PHP Code:

if ( !eregi$_SERVER['SERVER_NAME'], $ref) AND $ref !="" $insert true 


darksoulz 01-18-2006 05:58 PM

Any reason why it shows the same site multiple times? I see in the screenshot, and in practice on our board where www.google.com is showing multiple times. Any way to make it consolidate those into one entry and add the total hits together?

MPDev 01-18-2006 05:59 PM

Because the referal links into you site are different - it groups referrals not by site, but by the link into your site (otherwise you'd only see one referral link from google.com versus all the referral links into your site).

darksoulz 01-19-2006 11:52 PM

I see, mind if I work on some modifications to it?


All times are GMT. The time now is 08:01 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.01505 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (3)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
  • (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