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)

laskos 01-29-2007 02:13 PM

can this work for 3.5.4

RedTyger 01-29-2007 04:29 PM

Ok, let's try this again shall we? The new version of the product has been uploaded, all of it has changed so you must UNINSTALL the version you have, then upload this plugin, upload the includes file and redo the template edit.

Changelog:
v1.1

- Added AJAX inline moderation (Yay!) and ability to clear the list via a link on the index page without waiting from the Scheduled Task to do it. Admins only may do either task.
- Changed the screenshot to show the inline deletion links.
- Fixed incorrect cron timing (Scheduled Task) and phrased it.
- Fixed issue with domains that sometimes had www. and sometimes did not. This also now shortens any URL which I was meaning to do anyway, so www.google.com will appear in the list as google.com. Smartens things up and gives a bit more room too.
- Changed URL encoding to avoid problems with domains that contained hypens.
Fixed blockwords not working. They are still only checked when a domain is first added, but inline moderation means you can now take care of it yourself afterwards if necessary..
- Minor optimisations.

rantrave 01-29-2007 04:52 PM

It's working perfectly RedTyger, thanks a million. Excellent MOD!

laskos 01-29-2007 04:58 PM

will this work on 3.5.4 before i install it ?

RedTyger 01-29-2007 05:36 PM

Quote:

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

Install the plugin linked below first and it should do, yes.

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

Mecho 01-29-2007 09:55 PM

Quote:

Originally Posted by RedTyger (Post 1169586)
Change this line in the template modification:
Code:

<if condition="$vboptions[referrers_onoff]">

to this
Code:

<if condition="$vboptions[referrers_onoff] AND is_member_of($bbuserinfo, 1,2,3)">

Change 1,2,3 to whatever usergroups you want to allow to see the list.

i could not find it !! any idea ??

p.s. thanks for u great hack :) :up:

RedTyger 01-29-2007 09:58 PM

Quote:

Originally Posted by Mecho (Post 1170089)
i could not find it !! any idea ??

p.s. thanks for u great hack :) :up:

It's the first line of the code you have to add in the instructions.

Lord Kirken Mor 01-30-2007 12:59 AM

great but how do i add a title above it saying Referalls: i attached what shows up right now.

Shazz 01-30-2007 01:26 AM

Very interesting, It started saying my sites name 10 times and couldn't take if off :(

Lord Kirken Mor 01-30-2007 02:11 AM

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>



All times are GMT. The time now is 10: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.01383 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
  • (3)bbcode_code_printable
  • (3)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