The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Costume who is online

View previous topic View next topic Go down

Solved Costume who is online

Post by liu kang on March 19th 2011, 9:31 am

I made A new who is Online widget for my portal!My widget is like this:
total users : FORUMCOUNTUSER
Last user : FORUMLASTUSERLINK
Total Posts : FORUMCOUNTPOST
Total Topics : FORUMCOUNTOPIC
Most Online user s: FORUMONLINEUSER(FORUMONLINEDATE)

All of thease codes are between {}
Now I need a code forTotal Online users & total registered users & total guests!

liu kang
Forumember

Male Posts : 56
Reputation : 0
Language : farsi
Location : Iran

http://mortalkombatfans.forum0.net

Back to top Go down

Solved Re: Costume who is online

Post by dragonintel on March 23rd 2011, 12:17 am

Here is a full list of all the forumotion php variables, if it isnt there than it isnt possible, sorry Sad

http://help.forumotion.com/t48637-list-of-variables

Drag~

dragonintel
Forumember

Male Posts : 392
Reputation : 0
Language : English
Location : New York

http://bestof.forumotion.com/

Back to top Go down

Solved Re: Costume who is online

Post by Plancker on March 23rd 2011, 1:48 pm

what you say is true dragonintel but maybe you can do it with javscript don't know for sure but i've seen it somewhere

Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Solved Re: Costume who is online

Post by liu kang on March 23rd 2011, 9:31 pm

Yes!Some one posted some of them here before me,but his question wasn't like me!How is it possible with java script?

liu kang
Forumember

Male Posts : 56
Reputation : 0
Language : farsi
Location : Iran

http://mortalkombatfans.forum0.net

Back to top Go down

Solved Re: Costume who is online

Post by Saxaca on March 24th 2011, 6:46 pm

Invision users can do the members online using javascript:
Code:
<div id="usersOnline"></div>
<script>
/*
/-------------------------------------------------------
| (C) Saxaca Designs. All rights reserved.
|
| Use and modification is allowed, as long
| as this entire notice stays intact.
\-------------------------------------------------------
*/

jQuery(function() {
  users = jQuery('table[class="ipbtable"] div[class="thin"]').html();

  jQuery('#usersOnline').html(users);
  jQuery('#usersOnline').insertAfter('#submenu');
  jQuery('#usersOnline').find('br:first').after('<br /><hr /><br />');
});
</script>

It should be posted into the homepage message.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Costume who is online

Post by liu kang on April 10th 2011, 7:43 pm

thank you but where is homepage message?

liu kang
Forumember

Male Posts : 56
Reputation : 0
Language : farsi
Location : Iran

http://mortalkombatfans.forum0.net

Back to top Go down

Solved Re: Costume who is online

Post by Base on April 10th 2011, 7:44 pm

The homepage message can be found at:

1. Administration Panel (advanced mode)
2. Display Tab
3. Generalities (on the left, under Homepage)

Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Costume who is online

Post by liu kang on April 10th 2011, 8:07 pm

thank you very much!!!

liu kang
Forumember

Male Posts : 56
Reputation : 0
Language : farsi
Location : Iran

http://mortalkombatfans.forum0.net

Back to top Go down

Solved Re: Costume who is online

Post by Sanket on April 11th 2011, 5:33 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum