The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hi,
i have this code :- <script language="javascript" src="MY SITE ADDRESS IS HERE /scripts/stats.php?view=2"></script> <script language="javascript" src="MY SITE ADDRESS IS HERE/scripts/stats.php"></script> one is To display online users in your website, simply copy and paste the code below in your webpage the other is To display total number of registered users, simply copy and paste the code below in your webpage where do i enter this code please??? how do i get this to show on the front page of my forums please?? id like it to be at the top if possible on my forums for users to see thanks cheers in advance for help ![]() |
#2
|
||||
|
||||
![]()
You need to ask this question at the site you got the scripts from. vbulletin already shows users online and the total number of registered users, so I can't think of why you would even want that script on your vb pages.
|
#3
|
|||
|
|||
![]()
heres where i want to put the code to the left of the welcome here
which is at the top of my forum :- ![]() ![]() and heres how the code looks to show whos in my chat room when added :- ![]() ![]() as you can its the same size, and fit, i would also like it down here at the bottem right of this too please :- ![]() ![]() any help on this would be great thanks, especially which templates are needed to add it, and where |
#4
|
||||
|
||||
![]()
Create a new column in the navbar template where the username is entered and put your code for the chat room there.
Find an appropriate spot in the FORUMHOME template and input your line there. |
#5
|
|||
|
|||
![]()
where exactly is the templates of the ones i want above??
|
#6
|
||||
|
||||
![]()
I told you which templates.... the navbar template and the FORUMHOME template. If those aren't correct templates for you due to a custom style, then you can figure out the template yourself by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
|
#7
|
|||
|
|||
![]()
sorry im a totally new at this, and its abit above my head
![]() anyway i got it in there thanks, but how do i get it to sit in the middle, or beside the places i want, if this cant be done, then no worries, as you been great thanks, and though its off centre, im happy thanks ![]() heres the code anyway just in case :- <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> <script language="javascript" src="http:// MY SITE IS HERE .com/visichat/scripts/stats.php"></script> </td> <!-- AddThis Button BEGIN --> <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=jaderollie"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=jaderollie"></script> <!-- AddThis Button END --> <td class="alt1"> </td> AND this bit is what i added into the above :- <script language="javascript" src="http:// MY SITE IS HERE .com/visichat/scripts/stats.php"></script> and heres how it looks on my site now :- ![]() ![]() thanks again, as its well appreciated, especially your time |
#8
|
||||
|
||||
![]()
I really don't know exactly. Your navbar is not default at all. I would suggest creating a new column (<td>) next to the login box (right before it) and putting it in there. In the default template, it is just a single row, so that would be easy to do.
HTML Code:
<td>your code</td> |
#9
|
|||
|
|||
![]() Quote:
![]() heres how it looks :- ![]() ![]() now that is great thanks ![]() so is there anyway i can add that other wee bit of code please to show how many members there are total, but it sits beside square on in same line?? if not no worries, as im set anyway, and ill thank you in advance now cheers |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|