vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Widget - Users Online (https://vborg.vbsupport.ru/showthread.php?t=230428)

Cyburbia 10-29-2011 09:40 PM

Quote:

Originally Posted by OlijO (Post 2259235)
I have the same problem. (vB4.1.7 fresh install).

Checking in to say the same thing happens with me in 4.1.7. Reload the page, and the widget disappears. Clear the CMS cache, reload, and it reappears. Reload the page, and it vanishes again.

misericorde 11-13-2011 04:35 PM

Hy Thank you

doctorsexy 11-16-2011 03:42 PM

Hi.. just updated to 4.1.8 and ive lost the names of the users ... there not being displayed ..any ideas ...thanks....

goxy63 11-16-2011 04:19 PM

Quote:

Originally Posted by doctorsexy (Post 2268563)
Hi.. just updated to 4.1.8 and ive lost the names of the users ... there not being displayed ..any ideas ...thanks....

Same here, online users not displayed

Lynne 11-16-2011 05:52 PM

You need to update the template.

Was:
HTML Code:

                <ol class="commalist" id="wgo_onlineusers_list">
                    {vb:raw activeusers}
                </ol>

Change To:
HTML Code:

<ol class="commalist" id="wgo_onlineusers_list">
                                                <vb:each from="activeusers" value="loggedin">
                                                        <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                                                </vb:each>
                                        </ol>

And in the widget...
Was:
PHP Code:

    foreach ($userinfos AS $userid => $loggedin)
    {
        
$numberregistered++;
        if (
$userid != vB::$vbulletin->userinfo['userid'] AND !$loggedin['badlocation'])
        {
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            
$inforum["$loggedin[inforum]"]++;
        }
        
fetch_musername($loggedin);

        if (
fetch_online_status($loggedin))
        {
            
$numbervisible++;
            
$show['comma_leader'] = ($activeusers != '');
            
$templater vB_Template::create('forumhome_loggedinuser');
                
$templater->register('loggedin'$loggedin);
            
$activeusers .= $templater->render();
            
vB_Template::preRegister('vbcms_widget_execphp_activeusers', array('activeusers' => $activeusers)); 
        }
    } 

Change to:
PHP Code:

    $activeusers = array();
    foreach (
$userinfos AS $userid => $loggedin)
    {
        
$numberregistered++;
        if (
$userid != vB::$vbulletin->userinfo['userid'] AND !$loggedin['badlocation'])
        {
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            
$inforum["$loggedin[inforum]"]++;
        }

        
fetch_musername($loggedin);
        
$loggedin['comma'] = ',';

        if (
fetch_online_status($loggedin))
        {
            
$numbervisible++;
            
$activeusers[$numbervisible] = $loggedin;
        }
    }
    
    
// Last element
    
if ($numbervisible
    {
        
$activeusers[$numbervisible]['comma'] = '';
    } 

And find:
PHP Code:

    'recordtime'  => $recordtime

Change to:
PHP Code:

    'recordtime'  => $recordtime,
    
'activeusers'=> $activeusers

I think that should work. I've gotta run but will check this thread later and add it to the first post.

doctorsexy 11-16-2011 06:47 PM

Lynne..sorry not working..it just Disappears ..with the update applied to it..

goxy63 11-16-2011 06:51 PM

Same here, but as "Lynne" said ...will be updated in first post soon :)

Lynne 11-16-2011 08:40 PM

Did you guys make the changes that I posted above? I tried those on my test site and they work fine (don't forget to clear the cache after making the changes).

sgbmad 11-17-2011 11:49 AM

After make the changes for 4.1.8:

Code:

Parse error: syntax error, unexpected '}' in /home/*****/public_html/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 149
:(

Could you upload the complete widget code for 4.1.8? it would be easier :)

doctorsexy 11-17-2011 02:07 PM

(don't forget to clear the cache after making the changes)

Ever since the update to 4.1.8 the clear cms cache buttons not there....

doctorsexy 11-17-2011 02:29 PM

Its moved to under Maintenance.....:rolleyes::D

YukseLL 11-17-2011 02:45 PM

Quote:

Originally Posted by sgbmad (Post 2268863)
After make the changes for 4.1.8:

Code:

Parse error: syntax error, unexpected '}' in /home/*****/public_html/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 149
:(

Could you upload the complete widget code for 4.1.8? it would be easier :)

I agree
I'm getting the same error

Lynne 11-17-2011 04:58 PM

You had an extra } in your php code which was causing the issue.

This is the code for 4.1.8:

vbcms_widget_execphp_activeusers
HTML Code:

<vb:if condition="$show['loggedinusers']">
<div class="cms_widget category_widget">
    <div class="block">
        <div class="cms_widget_header">
            <h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
        </div>
        <div class="cms_widget_content widget_content">
            <div>
                <p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<ol class="commalist" id="wgo_onlineusers_list">
                        <vb:each from="activeusers" value="loggedin">
                            <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                        </vb:each>
                    </ol>
            </div>
        </div>
    </div>
</div>
</vb:if>

widget code:
PHP Code:

require_once(DIR '/includes/functions_bigthree.php'); 

$activeusers '';
if ((
vB::$vbulletin->options['displayloggedin'] == OR vB::$vbulletin->options['displayloggedin'] == OR (vB::$vbulletin->options['displayloggedin'] > AND vB::$vbulletin->userinfo['userid'])) AND !$show['search_engine'])
{
    
$datecut TIMENOW vB::$vbulletin->options['cookietimeout'];
    
$numbervisible 0;
    
$numberregistered 0;
    
$numberguest 0;
    
    
$hook_query_fields $hook_query_joins $hook_query_where '';
    (
$hook vBulletinHook::fetch_hook('forumhome_loggedinuser_query')) ? eval($hook) : false;

    
$forumusers vB::$db->query_read_slave("
        SELECT
            user.username, (user.options & " 
vB::$vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, user.lastvisit,
            session.userid, session.inforum, session.lastactivity, session.badlocation,
            IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
            
$hook_query_fields
        FROM " 
TABLE_PREFIX "session AS session
        LEFT JOIN " 
TABLE_PREFIX "user AS user ON(user.userid = session.userid)
        
$hook_query_joins
        WHERE session.lastactivity > 
$datecut
            
$hook_query_where
        " 
iif(vB::$vbulletin->options['displayloggedin'] == OR vB::$vbulletin->options['displayloggedin'] == 3"ORDER BY username ASC") . "
    "
);

    if (
vB::$vbulletin->userinfo['userid'])
    {
        
// fakes the user being online for an initial page view of index.php
        
vB::$vbulletin->userinfo['joingroupid'] = iif(vB::$vbulletin->userinfo['displaygroupid'], vB::$vbulletin->userinfo['displaygroupid'], vB::$vbulletin->userinfo['usergroupid']);
        
$userinfos = array
        (
            
vB::$vbulletin->userinfo['userid'] => array
            (
                
'userid'            =>& vB::$vbulletin->userinfo['userid'],
                
'username'          =>& vB::$vbulletin->userinfo['username'],
                
'invisible'         =>& vB::$vbulletin->userinfo['invisible'],
                
'inforum'           => 0,
                
'lastactivity'      => TIMENOW,
                
'lastvisit'         =>& vB::$vbulletin->userinfo['lastvisit'],
                
'usergroupid'       =>& vB::$vbulletin->userinfo['usergroupid'],
                
'displaygroupid'    =>& vB::$vbulletin->userinfo['displaygroupid'],
                
'infractiongroupid' =>& vB::$vbulletin->userinfo['infractiongroupid'],
            )
        );
    }
    else
    {
        
$userinfos = array();
    }
    
$inforum = array();

    while (
$loggedin vB::$db->fetch_array($forumusers))
    {
        
$userid $loggedin['userid'];
        if (!
$userid)
        {    
// Guest
            
$numberguest++;
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            if (!
$loggedin['badlocation'])
            {
                
$inforum["$loggedin[inforum]"]++;
            }
        }
        else if (empty(
$userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
        {
            
$userinfos["$userid"] = $loggedin;
        }
    }

    if (!
vB::$vbulletin->userinfo['userid'] AND $numberguest == 0)
    {
        
$numberguest++;
    }

    
$activeusers = array();
    foreach (
$userinfos AS $userid => $loggedin)
    {
        
$numberregistered++;
        if (
$userid != vB::$vbulletin->userinfo['userid'] AND !$loggedin['badlocation'])
        {
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            
$inforum["$loggedin[inforum]"]++;
        }

        
fetch_musername($loggedin);
        
$loggedin['comma'] = ',';

        if (
fetch_online_status($loggedin))
        {
            
$numbervisible++;
            
$activeusers[$numbervisible] = $loggedin;
        }
    }
    
    
// Last element
    
if ($numbervisible
    {
        
$activeusers[$numbervisible]['comma'] = '';
    }

    
// memory saving
    
unset($userinfos$loggedin);

    
vB::$db->free_result($forumusers);

    
$totalonline $numberregistered $numberguest;
    
$numberinvisible $numberregistered $numbervisible;
     
    
vB::$vbulletin->datastore->fetch(array('maxloggedin'));
    if (
vB::$vbulletin->maxloggedin === NULL)
    {
        
vB::$vbulletin->maxloggedin = array();
    }
    if (
intval(vB::$vbulletin->maxloggedin['maxonline']) <= $totalonline)
    {
        
vB::$vbulletin->maxloggedin['maxonline'] = $totalonline;
        
vB::$vbulletin->maxloggedin['maxonlinedate'] = TIMENOW;
        
build_datastore('maxloggedin'serialize(vB::$vbulletin->maxloggedin), 1);
    }

    
$recordusers vb_number_format(vB::$vbulletin->maxloggedin['maxonline']);
    
$recorddate vbdate(vB::$vbulletin->options['dateformat'], vB::$vbulletin->maxloggedin['maxonlinedate'], true);
    
$recordtime vbdate(vB::$vbulletin->options['timeformat'], vB::$vbulletin->maxloggedin['maxonlinedate']);

    
$show['loggedinusers'] = true;
    
    
$statsarray = array('onlinestats' => $onlinestats,
    
'totalonline' => $totalonline,
    
'numberregistered' => $numberregistered,
    
'numberguest' => $numberguest,
    
'show'    => $show,
    
'recordusers'  => $recordusers,
    
'recorddate'  => $recorddate,
    
'recordtime'  => $recordtime,
    
'activeusers'=> $activeusers,
    );
    
    
vB_Template::preRegister('vbcms_widget_execphp_activeusers'$statsarray); 



toxin 11-17-2011 05:12 PM

The new widget code and tempate code is working for me on 4.1.8

- Thanks Lynne

(has the button for "clear cms cache" been removed from 4.1.8?)

- found it: Its moved to the Maintenance Section, and is called Clear System Cache.

sgbmad 11-17-2011 05:24 PM

Quote:

Originally Posted by Lynne (Post 2268938)
You had an extra } in your php code which was causing the issue.

This is the code for 4.1.8:

vbcms_widget_execphp_activeusers
HTML Code:

<vb:if condition="$show['loggedinusers']">
<div class="cms_widget category_widget">
    <div class="block">
        <div class="cms_widget_header">
            <h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
        </div>
        <div class="cms_widget_content widget_content">
            <div>
                <p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<ol class="commalist" id="wgo_onlineusers_list">
                        <vb:each from="activeusers" value="loggedin">
                            <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                        </vb:each>
                    </ol>
            </div>
        </div>
    </div>
</div>
</vb:if>

widget code:
PHP Code:

require_once(DIR '/includes/functions_bigthree.php'); 

$activeusers '';
if ((
vB::$vbulletin->options['displayloggedin'] == OR vB::$vbulletin->options['displayloggedin'] == OR (vB::$vbulletin->options['displayloggedin'] > AND vB::$vbulletin->userinfo['userid'])) AND !$show['search_engine'])
{
    
$datecut TIMENOW vB::$vbulletin->options['cookietimeout'];
    
$numbervisible 0;
    
$numberregistered 0;
    
$numberguest 0;
    
    
$hook_query_fields $hook_query_joins $hook_query_where '';
    (
$hook vBulletinHook::fetch_hook('forumhome_loggedinuser_query')) ? eval($hook) : false;

    
$forumusers vB::$db->query_read_slave("
        SELECT
            user.username, (user.options & " 
vB::$vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, user.lastvisit,
            session.userid, session.inforum, session.lastactivity, session.badlocation,
            IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
            
$hook_query_fields
        FROM " 
TABLE_PREFIX "session AS session
        LEFT JOIN " 
TABLE_PREFIX "user AS user ON(user.userid = session.userid)
        
$hook_query_joins
        WHERE session.lastactivity > 
$datecut
            
$hook_query_where
        " 
iif(vB::$vbulletin->options['displayloggedin'] == OR vB::$vbulletin->options['displayloggedin'] == 3"ORDER BY username ASC") . "
    "
);

    if (
vB::$vbulletin->userinfo['userid'])
    {
        
// fakes the user being online for an initial page view of index.php
        
vB::$vbulletin->userinfo['joingroupid'] = iif(vB::$vbulletin->userinfo['displaygroupid'], vB::$vbulletin->userinfo['displaygroupid'], vB::$vbulletin->userinfo['usergroupid']);
        
$userinfos = array
        (
            
vB::$vbulletin->userinfo['userid'] => array
            (
                
'userid'            =>& vB::$vbulletin->userinfo['userid'],
                
'username'          =>& vB::$vbulletin->userinfo['username'],
                
'invisible'         =>& vB::$vbulletin->userinfo['invisible'],
                
'inforum'           => 0,
                
'lastactivity'      => TIMENOW,
                
'lastvisit'         =>& vB::$vbulletin->userinfo['lastvisit'],
                
'usergroupid'       =>& vB::$vbulletin->userinfo['usergroupid'],
                
'displaygroupid'    =>& vB::$vbulletin->userinfo['displaygroupid'],
                
'infractiongroupid' =>& vB::$vbulletin->userinfo['infractiongroupid'],
            )
        );
    }
    else
    {
        
$userinfos = array();
    }
    
$inforum = array();

    while (
$loggedin vB::$db->fetch_array($forumusers))
    {
        
$userid $loggedin['userid'];
        if (!
$userid)
        {    
// Guest
            
$numberguest++;
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            if (!
$loggedin['badlocation'])
            {
                
$inforum["$loggedin[inforum]"]++;
            }
        }
        else if (empty(
$userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
        {
            
$userinfos["$userid"] = $loggedin;
        }
    }

    if (!
vB::$vbulletin->userinfo['userid'] AND $numberguest == 0)
    {
        
$numberguest++;
    }

    
$activeusers = array();
    foreach (
$userinfos AS $userid => $loggedin)
    {
        
$numberregistered++;
        if (
$userid != vB::$vbulletin->userinfo['userid'] AND !$loggedin['badlocation'])
        {
            if (!isset(
$inforum["$loggedin[inforum]"]))
            {
                
$inforum["$loggedin[inforum]"] = 0;
            }
            
$inforum["$loggedin[inforum]"]++;
        }

        
fetch_musername($loggedin);
        
$loggedin['comma'] = ',';

        if (
fetch_online_status($loggedin))
        {
            
$numbervisible++;
            
$activeusers[$numbervisible] = $loggedin;
        }
    }
    
    
// Last element
    
if ($numbervisible
    {
        
$activeusers[$numbervisible]['comma'] = '';
    }

    
// memory saving
    
unset($userinfos$loggedin);

    
vB::$db->free_result($forumusers);

    
$totalonline $numberregistered $numberguest;
    
$numberinvisible $numberregistered $numbervisible;
     
    
vB::$vbulletin->datastore->fetch(array('maxloggedin'));
    if (
vB::$vbulletin->maxloggedin === NULL)
    {
        
vB::$vbulletin->maxloggedin = array();
    }
    if (
intval(vB::$vbulletin->maxloggedin['maxonline']) <= $totalonline)
    {
        
vB::$vbulletin->maxloggedin['maxonline'] = $totalonline;
        
vB::$vbulletin->maxloggedin['maxonlinedate'] = TIMENOW;
        
build_datastore('maxloggedin'serialize(vB::$vbulletin->maxloggedin), 1);
    }

    
$recordusers vb_number_format(vB::$vbulletin->maxloggedin['maxonline']);
    
$recorddate vbdate(vB::$vbulletin->options['dateformat'], vB::$vbulletin->maxloggedin['maxonlinedate'], true);
    
$recordtime vbdate(vB::$vbulletin->options['timeformat'], vB::$vbulletin->maxloggedin['maxonlinedate']);

    
$show['loggedinusers'] = true;
    
    
$statsarray = array('onlinestats' => $onlinestats,
    
'totalonline' => $totalonline,
    
'numberregistered' => $numberregistered,
    
'numberguest' => $numberguest,
    
'show'    => $show,
    
'recordusers'  => $recordusers,
    
'recorddate'  => $recorddate,
    
'recordtime'  => $recordtime,
    
'activeusers'=> $activeusers,
    );
    
    
vB_Template::preRegister('vbcms_widget_execphp_activeusers'$statsarray); 



I use the new code and clear cache but show "Array" word:

https://vborg.vbsupport.ru/

What's wrong?

doctorsexy 11-17-2011 05:26 PM

Working on 4.1.8 + the 4.1.7 update as well ...thanks again Lynne

CoZmicShReddeR 11-17-2011 11:45 PM

Thanks for thee update Lynne!;)

Robru 11-18-2011 06:54 AM

Thank you, works great!! :)

sgbmad 11-18-2011 07:35 AM

Rewrite the widget and template and finally works.

Thanks Lynne.

goxy63 11-18-2011 01:44 PM

Dear "Lynne", if I may ask here...:

This mod which is originally yours is not working with latest version, so can you please post there what we should look into to make it work, or how to make it work
https://vborg.vbsupport.ru/showthrea...18#post2268918

Thanks

ps
Guy who was taking care of this mod is not here since June or something like that so...

Lynne 11-18-2011 05:04 PM

Quote:

Originally Posted by goxy63 (Post 2269219)
Dear "Lynne", if I may ask here...:

This mod which is originally yours is not working with latest version, so can you please post there what we should look into to make it work, or how to make it work
https://vborg.vbsupport.ru/showthrea...18#post2268918

Thanks

ps
Guy who was taking care of this mod is not here since June or something like that so...

That is not my modification so I am not allowed to go make changes to it. He put me down on there as a supporter because I helped him to write the code originally.

Bergler 11-19-2011 08:21 PM

1 Attachment(s)
Quote:

Originally Posted by sgbmad (Post 2268950)
I use the new code and clear cache but show "Array" word:

http://img51.imageshack.us/img51/543...875986d2cb.png

What's wrong?

I have the same problem,

jack-d 11-19-2011 11:41 PM

Quote:

Originally Posted by Cyburbia (Post 2262785)
Checking in to say the same thing happens with me in 4.1.7. Reload the page, and the widget disappears. Clear the CMS cache, reload, and it reappears. Reload the page, and it vanishes again.



I had this problem on 417 and now the same thing on 418.

First it's there and then it's gone.

Any ideas as to why.

Thanks

Robru 11-20-2011 09:44 AM

Quote:

Originally Posted by jack-d (Post 2269748)
I had this problem on 417 and now the same thing on 418.

First it's there and then it's gone.

Any ideas as to why.

Thanks

The same problem here with 4.1.8 ;)

Droptop 11-21-2011 03:26 AM

Hi Lynne, I am getting double commas after each username since the updated code. Any ideas? Thanks

Lynne 11-21-2011 03:32 AM

Are you testing this on a default style? Commas used to be added by CSS, so if you haven't updated your CSS, it may be getting added twice.

Droptop 11-21-2011 03:35 AM

Quote:

Originally Posted by Lynne (Post 2270199)
Are you testing this on a default style? Commas used to be added by CSS, so if you haven't updated your CSS, it may be getting added twice.

No it is a custom style, I just checked on default style and no double commas.

Lynne 11-21-2011 04:16 PM

Quote:

Originally Posted by Droptop (Post 2270200)
No it is a custom style, I just checked on default style and no double commas.

Then you should check your CSS for your custom style since that is most likely the issue (just use firebug and you should find it).

Bergler 11-21-2011 07:28 PM

Quote:

Originally Posted by Lynne (Post 2270392)
Then you should check your CSS for your custom style since that is most likely the issue (just use firebug and you should find it).

I have only changed the colors of my style. It worked before the upgrade

jack-d 11-22-2011 12:05 AM

Quote:

Originally Posted by jack-d (Post 2269748)
I had this problem on 417 and now the same thing on 418.

First it's there and then it's gone.

Any ideas as to why.

Thanks

Quote:

Originally Posted by Robru (Post 2269862)
The same problem here with 4.1.8 ;)


Oh well seems a few have this problem and not one word as to why.

Great widget if it worked.

UNINSTALLED.

Lynne 11-22-2011 02:02 AM

Quote:

Originally Posted by Bergler (Post 2270453)
I have only changed the colors of my style. It worked before the upgrade

No changes at all to any of the .css templates you have.

Quote:

Originally Posted by jack-d (Post 2270544)
Oh well seems a few have this problem and not one word as to why.

Great widget if it worked.

UNINSTALLED.

This has already been covered before. I see no reason to go through the thread and re-quote it all when you can do that also. I didn't release this to get install points, so it doesn't hurt me if you uninstall it. In fact, it is probably the best thing you can do if it doesn't work for you.

jack-d 11-22-2011 02:59 AM

Quote:

Originally Posted by Lynne (Post 2270594)
No changes at all to any of the .css templates you have.


This has already been covered before. I see no reason to go through the thread and re-quote it all when you can do that also. I didn't release this to get install points, so it doesn't hurt me if you uninstall it. In fact, it is probably the best thing you can do if it doesn't work for you.


I read through every post twice so if I missed it I apologize. The only thing I saw was the same question as I had with no answer.

That would be the ONLY reason I posted this question about it.

haincha 11-22-2011 10:33 AM

Ignore... I found what I was looking for. Thanks!

urulela 11-23-2011 05:51 PM

is again missing the phrase there_are_x_online??

goxy63 11-23-2011 11:01 PM

Quote:

Originally Posted by urulela (Post 2271236)
is again missing the phrase there_are_x_online??

read page 24, you already did that before :)

Bergler 11-27-2011 01:18 AM

Quote:

Originally Posted by Lynne (Post 2270594)
No changes at all to any of the .css templates you have.

All I have done is adjust the stylevars and ad some mods.

urulela 11-27-2011 11:33 AM

...

Helmut71 11-27-2011 02:26 PM

Hi

I have replaced the code of the template and the widget as given here it did work, but the Link to "members online" is missing.

Did I miss something?
Any help appreciated ^^

Lynne 11-27-2011 03:59 PM

Quote:

Originally Posted by Helmut71 (Post 2272381)
Hi

I have replaced the dode of the template and the widget as given here it did work, but the Link to "members online" is missing.

Did I miss something?
Any help appreciated ^^

In the template, replace:
HTML Code:

{vb:rawphrase there_are_x_online, {vb:raw totalonline}}
with this:
HTML Code:

{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}}
Sorry about that. I fixed it in the download instructions.

Helmut71 11-27-2011 07:40 PM

thanks a lot Lynne - works perfect with 4.1.8


All times are GMT. The time now is 06:52 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.02376 seconds
  • Memory Usage 2,057KB
  • 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
  • (6)bbcode_html_printable
  • (6)bbcode_php_printable
  • (19)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
  • (40)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