TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 321
  • Total: 321

Snippet Request for a Stat/User Online Box

Started by mrbean17, February 13, 2007, 12:01:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrbean17

Anyone have a snippet for the box used on this site that combines the stat and users online box?

http://www.therisenguild.net/

Thanks

Ken.

Check 'Block Code Snippets', there is a combo box listed there.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

mrbean17

Quote from: ken.kimbrell on February 13, 2007, 03:05:12 AM
Check 'Block Code Snippets', there is a combo box listed there.

Happen to have a link? Not sure what to be searchin for ... tried combo box.

Thanks in advance

jacortina


RoarinRow

Quote from: mrbean17 on February 13, 2007, 03:10:47 AM
Quote from: ken.kimbrell on February 13, 2007, 03:05:12 AM
Check 'Block Code Snippets', there is a combo box listed there.

Happen to have a link? Not sure what to be searchin for ... tried combo box.

Thanks in advance

This is the left block I use from Aku:

echo'
<head>
<link rel="stylesheet" type="text/css" href="tabcontent.css" />

<script type="text/javascript" src="tabcontent.js">

/***********************************************
* Tab Content script- Ã,© Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>
</head>

<ul id="maintab" class="shadetabs">
<li class="selected">
<a href="#" rel="tcontent1">User</a></li>
<li><a href="#" rel="tcontent2">Online</a></li>

</ul>

<div class="tabcontentstyle2">

<div id="tcontent1" class="tabcontent">';
TPortal_userbox();
echo'</div>

<div id="tcontent2" class="tabcontent">';
TPortal_statsbox();
echo'</div>

</div>

<script type="text/javascript">
//Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
initializetabcontent("maintab")
</script>';

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

ZarPrime

Quote from: mrbean17 on February 13, 2007, 12:01:25 AM
Anyone have a snippet for the box used on this site that combines the stat and users online box?

http://www.therisenguild.net/

Thanks

Mr. Bean, try this link ...
http://www.tinyportal.net/index.php?topic=11451.msg94799#msg94799

Suggest you use "Instructions for installation for User 2" even though the first one's a lot easier. ;)

ZarPrime

mrbean17

RoarinRow, I tried what you posted, and that combined the stats and user box without a tabbed version ...

Thanks zarprime ... I'll give that a shot later, looks interesting.

jacortina

What type of block did you use.

That might need to be in a scriptbox (not sure; I don't use the tabbed).

mrbean17

Quote from: J.A.Cortina on February 13, 2007, 04:15:37 PM
What type of block did you use.

That might need to be in a scriptbox (not sure; I don't use the tabbed).

Doesn't work in a scriptbox ... had to use phpbox. It works, but It's jsut not what i was looking for. The users and stat box basically become combined into a large block.

jacortina

Probably because you lack the tabcontent.js (and other) files.

See this thread:
http://www.tinyportal.net/index.php?topic=11451.0

This website is proudly hosted on Crocweb Cloud Website Hosting.