vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Members who have visited today. (https://vborg.vbsupport.ru/showthread.php?t=196458)

Bodwick 10-15-2010 10:45 AM

Quote:

Originally Posted by andie215 (Post 2109713)
Ive been running the 3.7 version on vbulletin 3.8 with np problems until today i noticed that the record ammount of visitors was recorded last week at 101 in 24 hours, and today its showing 318 on the 14th August ? I'm pretty certain ive not had this many people on in 1 day and why has it taken so long to update if i had. I have just installed the latest version, thx..

Hi Andie,

I peaked at 223 at the end of August which was far more than my usual 50ish. I made an overdue upgrade to 3.8.6 and numbers went down to normal. Most were coming from China... What version are you running?

andie215 10-17-2010 11:37 AM

Quote:

Originally Posted by Bodwick (Post 2110342)
Hi Andie,

I peaked at 223 at the end of August which was far more than my usual 50ish. I made an overdue upgrade to 3.8.6 and numbers went down to normal. Most were coming from China... What version are you running?

Hi, i'm using 3.8.5 at the moment, perhaps 3.8.6 would sort my little prob out.

JGreig 03-13-2011 04:51 AM

Works great, thank you.

Rickpwns 03-15-2011 06:55 PM

Installed, thanks!!

mapleleaffans 05-23-2011 12:08 AM

Wel done! Awesome, I love it! :)

Gun Geek 08-26-2011 01:19 PM

Cant seem to get this one to install on one of my clients forums, keep getting connection resets VB 3.8.7

gmptp 08-27-2011 05:08 AM

How to post this mod in forumdisplay?
Anyone any idea? Which file and code do I need to put in forumdisplay?

I've copy and paste below to forumdisplay template, but nothing display, what else do I need to put in forumdisplay tmpl?

$template_hook[forumhome_wgo_pos2]

Megareus Rex 09-04-2011 07:58 PM

How would I set this so it displays the primary usergroup HTML markup in the "who visited today" box, and not the chosen display group's markup?

Paul M 09-04-2011 08:16 PM

You cant, it uses the standard vb function to display the user.

Megareus Rex 09-04-2011 08:33 PM

Quote:

Originally Posted by Paul M (Post 2241968)
You cant, it uses the standard vb function to display the user.

Did it work differently in previous versions? I was using the 3.6 version for a long time, and I know I had it set so it used the primary display group instead of the chosen group display.

Paul M 09-04-2011 11:25 PM

Nope, its never been an option. The oldest 3.0 versions used to display based on the primary group, but that was fixed in April 2005. Since then all versions (3.0, 3.5, 3.6, 3.7, 3.8 & 4.0) have used display group. :)

Megareus Rex 09-04-2011 11:51 PM

I was positive I had it working like I described before, so I looked through my post history here and I found this post of yours, part of an exchange we had about an earlier version of this hack, back in 2008:
https://vborg.vbsupport.ru/showpost....postcount=1099

So it is possible, apparently! I just tried that same edit and it worked (although I kept the variable $ugroup, not the $group it was then). :P

Paul M 09-04-2011 11:59 PM

Well yes, obviously its possible if you edit the code. There is no built in method.

Megareus Rex 09-05-2011 12:07 AM

Ah, my bad for not being clear enough on what I meant, then.

levron 09-11-2011 12:53 AM

Parse error: syntax error, unexpected '<' in /home/zionscap/public_html/forums/index.php(596) : eval()'d code on line 21

I got that at the top of my website. http://www.zionscape.com

Any idea?

Paul M 09-11-2011 10:08 AM

You have a plugin on the forumhome_complete hook that is faulty (which is not a hook used by this).

Goomzee 11-04-2011 06:46 AM

Can i show
Quote:

Total members that have visited the forum today
on my forum page above.

SamirDarji 11-10-2011 04:07 AM

Like where exactly? :confused:

Fivestones 09-07-2012 07:48 PM

got new site had to come get it Thanks ..

mmulvenna 04-12-2013 11:02 PM

I am a very new VB user, will this mod work with 4.2 VB?

Paul M 04-13-2013 09:21 PM

Its not needed in 4.2, the feature is part of the core software since 4.2.0.

rockerzteam 09-08-2016 06:50 PM

Sorry to bump a old thread but how do i remove the collapse feature....


Code:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
I know the code is different for the part I want to edit...

SamirDarji 09-08-2016 11:37 PM

Quote:

Originally Posted by rockerzteam (Post 2575702)
Sorry to bump a old thread but how do i remove the collapse feature....


Code:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
I know the code is different for the part I want to edit...

I believe you can simply select an option to make a modele collapasble or not in the vbadvanced control panel.

rockerzteam 09-09-2016 01:32 AM

Quote:

Originally Posted by SamirDarji (Post 2575718)
I believe you can simply select an option to make a module collapsible or not in the vbadvanced control panel.

Thanks for your reply but this is in vbulletin itself. I have vbadvanced already setup to disable collapse.

blind-eddie 09-09-2016 09:37 AM

To remove the collapse feature for this modification,
Search in templates for: Display_Visitors
Below is the Display_Visitors, you will see where I commented out the collapse feature. Do the same or replace your template code with this one.

Code:

<!-- $data_wvt[title] -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <!--<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a> -->
                        $whotitle
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
        <tr>
                <td class="alt2"><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td>
        </tr>
</tbody>
<!-- PEMDATA38: $data_wvt[title] : Version = $data_wvt[version] : Revision = $data_wvt[cvs] -->


rockerzteam 09-09-2016 02:40 PM

Quote:

Originally Posted by blind-eddie (Post 2575730)
To remove the collapse feature for this modification,
Search in templates for: Display_Visitors
Below is the Display_Visitors, you will see where I commented out the collapse feature. Do the same or replace your template code with this one.

Code:

<!-- $data_wvt[title] -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <!--<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a> -->
                        $whotitle
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
        <tr>
                <td class="alt2"><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td>
        </tr>
</tbody>
<!-- PEMDATA38: $data_wvt[title] : Version = $data_wvt[version] : Revision = $data_wvt[cvs] -->


Amazing like always. Thanks a million!!!!:D

Paul M 09-09-2016 06:20 PM

JFYI, if someone has theirs set to collapsed, you have removed their ability to uncollapse it.

(Although they could logout & login to reset it I guess, as its a just a cookie).

I'm also curious why you would want to remove the option.

blind-eddie 09-09-2016 11:53 PM

Good point Paul.


All times are GMT. The time now is 10:04 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.01443 seconds
  • Memory Usage 1,784KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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