vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - [AJAX] Websites who have referred today (in the last 24 hours) (https://vborg.vbsupport.ru/showthread.php?t=137792)

BigJimTheLug 01-30-2007 04:45 AM

This modification is great!
Works nicely.
Come see for yourself!
http://forums.puremarketprofits.com

RedTyger 01-30-2007 06:44 AM

Quote:

Originally Posted by Shazz (Post 1170241)
Very interesting, It started saying my sites name 10 times and couldn't take if off :(


Link please? I need some details if I'm going to know what I or you have to fix. ;)


Quote:

Originally Posted by Lord Kirken Mor (Post 1170263)
ok i seen where its at, above the members logged in. This is how i have it.

Code:

<!-- websites who have referred today -->
<tbody>
<thead>
        <tr>
                <td class="thead" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('referrers_today')"><img id="collapseimg_referrers_today" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_referrers_today].gif" alt="" border="0" /></a>
                        $vbphrase[referrers_today]: $url_count <if condition="$bbuserinfo['usergroupid'] == '6'"> (<a href="index.php?$session[sessionurl]do=kill_all_referrers">$vbphrase[referrers_kill_all]</a>)</if>
                </td>
        </tr>
</thead>
<tbody id="collapseobj_referrers_today" style="$vbcollapse[collapseobj_referrers_today]">
        <tr>
                <td class="alt2">
                        <img src="$stylevar[imgdir_misc]/stats.gif" alt="$vbphrase[referrers_today]" border="0" />
                </td>
                <td class="alt1 smallfont">
                        $referrers
                </td>
        </tr>
</tbody>
<!-- end websites who have referred today -->
</if>



You've done the template edit wrong. :p Remove it all and try again.


Quote:

Originally Posted by laskos (Post 1169914)
will this work on 3.5.4 before i install it ?

I take back what I said earlier, according to this thread it will not with pre-3.6 versions, as it uses cron.


Quote:

Originally Posted by MARKETPROFITS (Post 1170342)
This modification is great!
Works nicely.
Come see for yourself!
http://forums.puremarketprofits.com

It appears to be removing the first letter in any domain that begins with a "t". :confused:

BigJimTheLug 01-30-2007 12:58 PM

This mod removes the letter "T" from websites starting with "T".

Something is wrong, help please.

StarBuG 01-30-2007 01:00 PM

Quote:

Originally Posted by RedTyger (Post 1170384)
It appears to be removing the first letter in any domain that begins with a "t". :confused:

It does the same on my site.

I have a site called www.patientenfragen.net

Every referrer from my site patientenfragen.net is listed as atientenfragen.net without the p at the beginning.

RedTyger 01-30-2007 01:39 PM

Do either of you have access to your forum databases? It would be very helpful if you could look at the referrers > url rows and see if the URLs are being stored with or without the first letter.

BigJimTheLug 01-30-2007 01:52 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1170520)
This mod removes the letter "T" from websites starting with "T".

Something is wrong, help please.


This mod also removes the letter "P"

lol.

something is up..lol..

BigJimTheLug 01-30-2007 01:52 PM

Quote:

Originally Posted by RedTyger (Post 1170537)
Do either of you have access to your forum databases? It would be very helpful if you could look at the referrers > url rows and see if the URLs are being stored with or without the first letter.

Yes I have access.

RedTyger 01-30-2007 01:58 PM

Quote:

Originally Posted by MARKETPROFITS (Post 1170544)
Yes I have access.

It doesn't matter! I just remembered I have a domain I can test on. I can't think of a reason why it should be only removing the first T or P at the moment, please bear with me... :confused:

Guest210212002 01-30-2007 02:33 PM

[high]* Guest210212002 clicks install
[/high]

One thing that would be nice would be the ability to shorten the URL to the TLD only. For example I have a few instances of things like "by119fd.bay119.hotmail.msn.com (2)" that look a little strange.

Also, I'd like to remove the full link to the referrer, at the very least for normal users. It's also stripping the letter H for me as well.

Great mod, cheers. :)

Guest210212002 01-30-2007 02:57 PM

Quote:

Originally Posted by rolliet (Post 1169408)
is there a way to make this viewable by select groups?

Add the red:

Code:

<if condition="in_array($bbuserinfo['usergroupid'], array(5, 6))">
<!-- websites who have referred today -->

And:

Code:

<!-- end websites who have referred today -->
</if>

Basically just wrapping the actual call to it in FORUMHOME inside an if condition. Change the 5,6 to whatever usergroup numbers you would like to see it.


All times are GMT. The time now is 07:45 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.01356 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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