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)

jaffaman 01-02-2010 07:40 AM

Installed working fine thanks :)

kefallon 01-02-2010 08:22 AM

Works fine on my site :)

THE__DRIFTER 01-02-2010 01:34 PM

Quote:

Originally Posted by Lynne (Post 1944613)
Did you add it to the layout you use on the front page?

I thought so; went through it all again but still nothing. I think it is more the CMS not wanting to display it. Have tried various things but nothing widget wise will show other than the ones indigenous to vB.

Lynne 01-02-2010 02:50 PM

Quote:

Originally Posted by gator777 (Post 1944712)
Lynne, the block displays empty when the user does not have access to the content. Can you make it so the block will not display if the user is not allowed to see the content?

On my test site, if I set the option for Display Logged in Users to "Yes, alphabetical to members only" and then I view the page as a Guest, I don't see the block at all. And I shouldn't since the condition is wrapped around the entire template. Perhaps you are playing with the wrong option?

Quote:

Originally Posted by THE__DRIFTER (Post 1944933)
I thought so; went through it all again but still nothing. I think it is more the CMS not wanting to display it. Have tried various things but nothing widget wise will show other than the ones indigenous to vB.

It doesn't sound like you are going to Layout Manager and *finding the correct layout* and adding this widget to it. Maybe you are adding widgets to the wrong layouts and that is why they aren't showing up. If you really think it is the software and not user error, then you should put in a support ticket to have support see what is wrong.

CFodder 01-02-2010 09:36 PM

Another great mod, thanks lynne :).

dangerin 01-03-2010 07:41 AM

really nice job.
But i ask something about a modify if possibile :
It is possible to have more informations about users on line how for example from where they connect or how much in this day or the total of users etc ..
i've seen widget with these infromations in other cms and i ask if there is also in VB4.
i've actually installed the PL1 but as soon i think that release the 4.0.1 and after the 4.0.2

Lynne 01-03-2010 02:56 PM

It is not an option to show that information in this widget. Paul wrote the code for how many in a day, so you could take his code and add it to this, but I'm not planning on changing this widget at all to add that.

dangerin 01-03-2010 03:56 PM

thank you everywhere lynne.. i've thought this because i've seen more options in the widget for forum and so.. ..
ever great job .
thanks

arauf 01-04-2010 07:46 AM

i Added this on my Forum, Working Fine ;)

LuckyNeo 01-04-2010 10:13 AM

Good work! Thank you very much!

Marv 01-04-2010 03:01 PM

Good Job! A suggestion, Lynne:
Wouldn?t it look cleaner if u put each info in a seperate line ? Like that

Quote:

Total Users Online: X.XXX
Members: XXX, Guests: X.XXX

User1, User2, User3, User4,
User5, User6,...

Any chance you could add this to ur widget ?

Lynne 01-04-2010 04:45 PM

Quote:

Originally Posted by Marv (Post 1946966)
Good Job! A suggestion, Lynne:
Wouldn?t it look cleaner if u put each info in a seperate line ? Like that



Any chance you could add this to ur widget ?

That is nicer. I was just copying what the current style was on the index/forum page. You can just modify the template if you want it to be like what you posted. The template name is vbcms_widget_execphp_activeusers.

MustangLisa 01-06-2010 04:12 PM

Great mod, thanks!

meissenation 01-06-2010 04:35 PM

Thanks! One of the few vb4 mods that actually works right off the bat.

albibak 01-07-2010 04:53 AM

1 Attachment(s)
Lynne,

Thanks for the widget
Please, find in attachment the french translation
You can find the french topic for this widget here: http://forum.vbulletin-fr.org/modifi...ement-connects

Birute 01-08-2010 11:13 PM

Lynne, the widget is not displaying but a error is showing on the top of the Home Page.

Quote:

Parse error: syntax error, unexpected '}' in /hermes/bosweb/web111/b1116/sl.bannerearth/public_html/*****/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 10
Do you have any suggestions on how I can fix this?

SemperFideles 01-09-2010 01:22 AM

What, precisely got updated in the past few days? Should I be changing the template or the code on my site?

Charlie98902 01-09-2010 02:58 AM

How to update or is that info in the .txt got the details on just how to update?

Lynne 01-09-2010 04:01 AM

Quote:

Originally Posted by Birute (Post 1950755)
Do you have any suggestions on how I can fix this?

Double-check what you did. It looks like something extra got into the code somewhere.



As for the update.... For some reason, it sent out an update when all I did was add the french translation for the modification. So, no need to do anything unless you want the french translation for this.

Birute 01-09-2010 11:26 AM

Lynne, in the code window in the first post there is a slide bar for the long statements of code but in the vbulleting window to paste the code into there is no slide bar, it is a very small window. It looks like the pasted code wraps the longer statements. Your very neat indented code does not look neat when it is pasted. Could this cause an error?

Charlie98902 01-09-2010 11:42 AM

Okay thanks Lynne, no worries.

albibak 01-09-2010 12:23 PM

Sorry :)

Birute 01-09-2010 01:06 PM

I took the widget out of the layout and the error message went away. So you are correct the error is in my coding somehow.
But now the Front Page logo is vBulletin's logo and will not recognize my titleimage logo but it does on the forum page. Help please

Birute 01-09-2010 01:46 PM

Lynne, sorry, disregard that previous post, I have corrected it.

Lynne 01-09-2010 02:31 PM

Glad you figured it out, Birute. :)

aberg 01-09-2010 07:36 PM

Don't work for me in v4.0 gold

rotor 01-09-2010 09:31 PM

Working fine in vB4 PL1 .... thx much appreciated :D

Eq4bits 01-10-2010 07:29 PM

sweet. works a charm on my test v4.0PL1

Sotonforum.co.u 01-11-2010 08:28 PM

When creating the Widget, under Widget Type - PHP Direct Execution, I do not have the option 'PHP Direct Execution'...
Any help?

Lynne 01-11-2010 09:46 PM

Quote:

Originally Posted by Sotonforum.co.u (Post 1953036)
When creating the Widget, under Widget Type - PHP Direct Execution, I do not have the option 'PHP Direct Execution'...
Any help?

What version are you running? It is definitely in Gold. I think it was added right before the first RC.

Sotonforum.co.u 01-11-2010 10:08 PM

Quote:

Originally Posted by Lynne (Post 1953081)
What version are you running? It is definitely in Gold. I think it was added right before the first RC.

I'm running vbulletin 4.0.0 patch level 1.

Lynne 01-11-2010 10:37 PM

Quote:

Originally Posted by Sotonforum.co.u (Post 1953103)
I'm running vbulletin 4.0.0 patch level 1.

If it isn't there, then there is something wrong with your CMS. You should put in a support ticket since I have no idea how to fix your issue.

Juggernaut 01-11-2010 11:56 PM

Great Widget, thank you so much :D

nikonphoto 01-12-2010 02:26 AM

Thanks work perfect thank you

Ozymandyus 01-13-2010 01:31 AM

Lynne, any reason to install the new version unless you want the French translation?

BTW, works fine in my updated 4.0.1 install.

Lynne 01-13-2010 02:08 AM

Quote:

Originally Posted by Ozymandyus (Post 1954061)
Lynne, any reason to install the new version unless you want the French translation?

BTW, works fine in my updated 4.0.1 install.

No. The French translation is just another text file like the one I posted only the instructions are all in french.

nextslit 01-13-2010 09:44 PM

Working fine , Thank you : )

RedHacker 01-14-2010 09:34 AM

Install for 4.0.1 Version..!!! How to change position...?

cnutter 01-14-2010 10:18 AM

Had to uninstall last night because I was getting an SQL error after the 4.0.1 upgrade. IT didn't happen right away but happened a few hours later. Any ideas? After disabling widget and the plug-in the SQL error did not happen again.

Invalid SQL:

REPLACE INTO cache
SET cacheid = 'widget.8c27fecae6a97eec9c54db10877fc6d3',
expires = 1263437898,
created = 1263437598,
locktime = 0,
data =
(to much to paste here)

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Request Date : Wednesday, January 13th 2010 @ 08:53:18 PM
Error Date : Wednesday, January 13th 2010 @ 08:53:29 PM
Script : http://(removed).net/forums/
Referrer :
IP Address : ****** (Removed)
Username : ***** (Removed)
Classname : vB_Database
MySQL Version : 5.0.83

Lynne 01-14-2010 02:14 PM

'max_allowed_packet' is a server issue. See this page - Common MySQL Error Messages


All times are GMT. The time now is 08:35 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.01588 seconds
  • Memory Usage 1,813KB
  • 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
  • (11)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