php forum
php mysql forum
php mysql smarty
 
Topic Options
#115951 - 02/25/06 02:01 PM I need help recording Index.html hits on the forum
yosaid Offline
User

Registered: 07/13/01
Posts: 34
Loc: minneapolis
Hello.

I have a website with a bussy forum. But ever since I created main index page for the website (before it used to automatically re-direct to the forum automatically when you enter the main domain).

Now my hits to the forum (the guests) is one third of what it was before. This is because the forum is not getting the direct hit anymore. The index.html page is getting all the hits and people click the "FORUM" link to go to the forum.

HOW DO I RECORD FRONT PAGE (index.html) HITS ON THE FORUM? Do I need a code hack or cookie or something?

My users think the traffic to the website has decline dramatically.

Thank you.

Top
#115952 - 02/25/06 08:26 PM Re: I need help recording Index.html hits on the forum
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
how do your visitors know how many hits your forum gets?
_________________________
- Allen wavey
- What Drives You?

Top
#115953 - 02/25/06 10:23 PM Re: I need help recording Index.html hits on the forum
yosaid Offline
User

Registered: 07/13/01
Posts: 34
Loc: minneapolis
I mean the "browsing now" visitors the forum records along with the logged-in usernames.

Total number went down and I want the index page visitors to be counter as guests on the forum.

Top
#115954 - 02/28/06 06:34 PM Re: I need help recording Index.html hits on the forum
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
hmmm.. ok, we're discussing something similar in the dev forum, I'll report back when I hear of something smile

People are skipping the forums once the hit your new mainpage now?
_________________________
- Allen wavey
- What Drives You?

Top
#115955 - 03/01/06 08:41 AM Re: I need help recording Index.html hits on the forum
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I used to have a php function that did this, but it got lost when I decided to rewrite my portal. I'll rewrite it maybe tomorrow and get back to you.

There was also the really bad, kludgey way to do it, which required called ultimatebb.cgi?ubb=something-I-threw-in via iframe. I considered modifying ultimatebb.cgi to just throw out some stupid stuff, like
Code:
<html><body></body></html>
so the output works, but it'd probably be much, much better to edit ultimatebb.php, as it does a ton less work (does a couple if statements, and includes an html file). This would probably help with the load.
_________________________
Code monkey like Fritos

Top
#115956 - 03/01/06 12:00 PM Re: I need help recording Index.html hits on the forum
yosaid Offline
User

Registered: 07/13/01
Posts: 34
Loc: minneapolis
Thanks guys. If you could help I would really appreciate. My total "users browsing" has gone done dramatically.

Maybe all the bots and crawlers are hitting the index page and the guest number on the forum is almost all gone.

Top
#115957 - 03/01/06 02:17 PM Re: I need help recording Index.html hits on the forum
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
that could be happening, but with use of content islands, the bots should be finding your forum easily.
_________________________
- Allen wavey
- What Drives You?

Top
#115958 - 03/02/06 09:15 AM Re: I need help recording Index.html hits on the forum
yosaid Offline
User

Registered: 07/13/01
Posts: 34
Loc: minneapolis
Allan thanks. But that didn't help at all. I put a js content island for the last registered member. I also copied the js cookie code on the ultimatebb.cgi front forum page and put in the index.

The content island appears but the number of recorded logged-in visitors and guests in the forum didn't improve at all. nothing changed.

I don't know what to do.

Top
#115959 - 03/02/06 11:22 AM Re: I need help recording Index.html hits on the forum
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
a content island for last regged member is a start, but I'm sure you'd get more followers from bots if you added a content island for last 10-20 posts or so, or 10 newest topics, etc... there's many ways you can increase bot follow-through. Be sure you have turned on spider-friendly urls as well.
_________________________
- Allen wavey
- What Drives You?

Top
#115960 - 03/02/06 04:11 PM Re: I need help recording Index.html hits on the forum
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Bah, Apparently forgot to submit the post I wrote this morning.

Most spiders don't parse javascript, so they never see those links, hence they never get spidered.
PHP or SSI are your best bet
_________________________
Code monkey like Fritos

Top
#115961 - 03/02/06 04:22 PM Re: I need help recording Index.html hits on the forum
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
fwiw on my new home page, iwas pleasantly surprised to see the bots crawling the links in an iframe where the src points at my free php script i downloaded from www.rss2html.com

i put that script where ever i found other php stuff in my ubb directories, and it worked like a champ! fast too. and you setup an html template for the output too look however ya like.

so you could set your Content Islands to generate an rss file to do the same kind of thing.
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

dangerously inspired by ubbdev,
but i still absolutely HATE perl.

Top
#115962 - 03/08/06 12:06 AM Re: I need help recording Index.html hits on the forum
yosaid Offline
User

Registered: 07/13/01
Posts: 34
Loc: minneapolis
Still no luck.

Anyone able to help?

Top
#115963 - 03/08/06 12:31 PM Re: I need help recording Index.html hits on the forum
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
do you have a link to the page in question? I'm making guesses about what you need smile
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  Gizmo, tackaberry 
Top Posters Last 30 Days
AllenAyres 83
Gizmo 27
sirdude 24
Zarzal 23
blaaskaak 11
swebs 6
willing 5
Who's Online
0 Registered (), 29 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Nice Ajax Chat
by Thelockman
Yesterday at 09:07 AM
[7.x] UBB.Post Templates v0.1
by sirdude
07/05/08 12:48 PM
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
Changing currency for subscriptions?
by AllenAyres
07/03/08 01:15 PM
Protect users emails
by AllenAyres
07/03/08 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks