If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
General help...  XML
Forum Index » Support Forum
Author Message
Anonymous



I wanted to modify the today hit counter like the one of the top: Got this code:


I wanted to add <b>Total Hits:</b> # here and <b>Today Hits:</b> # here and but a <br> inbetween them so they go on seperate lines.
So I did this, but I get an error:


What am I missing/wrong?
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Change it to this ::



Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I get this error (I put it "it=code" in menu.php file):

Parse error: parse error, expecting `','' or `';'' in /home/groups/j/js/jspbbs/htdocs/bhimpfen/menu.php on line 51
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Whats on line 51?

Try the code above again since I've modified it slightly.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



line 51 = the first echo
Can the owner of this reply! because nothing is working
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Try removing the ' 's from the beginning and end of total and visits_today

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I got it to work I did this:

Head Area of menu.php:
Then where I wanted the output put:
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

This would also work I think, if you want to tidy it up.



Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum