PlayBuddy
November 05, 2024, 08:48:53 AM

This week's Club Pogo challenges!
Solitaire Home Story : Clear 160 diamond cards this week! [Download Cheat]
World Class Solitaire HD : Use the grab power up 26 times this week! [Download Cheat]
Pogo Slots : Win 28,000 coins in the Grant's Garden Slot Machine this week! [Download Cheat]

Main Menu

Suggestions

Started by Homer,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fatkid

I've been searching on the best for auto-refresh, and John seems to be correct in finding that the meta tag way is the best to have a page refresh itself...

PHP code seems a bit more complicated and more trouble than just adding the meta tag refresh code... Though... Here's the predicament I come to... In your .html file for www.pogocheats.net is where the refresh meta tag would be included, (i'm assuming)... From there you don't ever go to any other .html files... The rest of the pages (for the most part) are all from .php files...  Now HTML supports the meta tags... But can you include the meta tags inside each individual .php file?  Because I've only known meta tags to be included with HTML...


The meta tag refresh breakdown...
http://www.phpfreaks.com/quickcode/Redirecting_the_Web_Browser_With_Meta_Refresh/13.php


This link here is an experimental method for PHP right now... It seems to be for refreshing the window... But as its experimental it isn't documented worth beans...  :-\

http://www.phpfreaks.com/phpmanual/page/function.ncurses-wrefresh.html

admin

#21
This might not be the best way to do it, but it could work, just by adding it to template.php:

$url =sprintf($HTTP_HOST);
if $url == "http://www.pogocheats.net/"
echo ("<META HTTP-EQUIV='refresh' CONTENT='90;http://www.pogocheats.net/'>");
else echo ('');


So if the page is on the index, do the auto-refresh code. This could be the easiest way to do it. The html there will work fine right? No need to use an experminetal php function when html will do the job.

kotraquin

Quote from: Pcheats on February 08, 2004, 03:28:05 PM
This might not be the best way to do it, but it could work, just by adding it to template.php:

$url =sprintf($HTTP_HOST);
if $url == "http://www.pogocheats.net/"
echo ("<META HTTP-EQUIV='refresh' CONTENT='90;http://www.pogocheats.net/'>");
else echo ('');

So if the page is on the index, do the auto-refresh code. This could be the easiest way to do it. The html there will work fine right? No need to use an experminetal php function when html will do the job.

maybe ya can do a test page with 3-4 fake boards that only you can access

fatkid

Quote from: Pcheats on February 08, 2004, 03:28:05 PM
$url =sprintf($HTTP_HOST);
if $url == "http://www.pogocheats.net/"
echo ("<META HTTP-EQUIV='refresh' CONTENT='90;http://www.pogocheats.net/'>");
else echo ('');

No I agree totally... No need for the not fully functioning PHP code... I think the method is getting renamed in the next PHP release any ways... But my one concern is, will that refresh every thing under the domain http://www.pogocheats.net/  ?  Or will it only do that SPECIFIC domain name?  Because that url is for the login page (if I remember correctly/ after login you go to the index.php file)  but if it does everything under the domain then won't it auto-refresh reply pages and such including all the boards?  And that would be no good...   That would only give me 90 seconds to post up replies... And sometimes I write HUGE replies..  ;)

admin

Don't worry, it would just be on the exact URL.

So actually, it should be:

if $url == "http://www.pogocheats.net/index.php" || $url == "http://pogocheats.net/index.php"
...

I'll do some testing later toady to be sure this works, and if all goes well it'll be implemented.  :)

fatkid

Well then there you go... Looks good from there, I was just not sure if it had to be index.php or what... I'm gonna talk to some guys that are in the web coding classes though and see if they know anything about the type of Javascript code I had mentioned earlier... Something like that would serve the same purpose, but be a little less obtrusive...  8)

admin

Just did a bit of testing, and everything is good.  :)

Look for it on the site later tonight.

Homer


PogoCheats - It's all about the badges!!!

fatkid

Here's another suggestion... Don't know how much space you have on your server, but if we could upload our avatars onto the site instead of linking to them... My freakin' avatars never want to appear... They show up like 1 out of 20 times I log on..  :P ... Heck if you didn't have enough space to host the avatar I would send in a 120 gig drive just for that purpose...

admin

Hehe. :) This is another feature that will be in the next version of yabb SE. To learn more about it, go to www.simplemachines.org. (They are changing the name in the next version.)

The refresh script is giving me some problems, so it's not on the site yet. The code is there, but it's not doing anything... I'll work on it some more tonight and see if I can fix the problem.

fatkid

When is the next release of YaBB? I didn't seem to find it anywhere on simplemachines.org... That's the improvement on the board that I'm waiting for...

admin

They have been pretty tight-liped on giving away any release dates, but from what I've gathered, the release will be pretty soon. Exactly when, I don't know.

badcrazygirl


admin

It's the forum software that we are using.

Quote
P Cheats Community | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.

badcrazygirl


Homer


PogoCheats - It's all about the badges!!!


fatkid

YaBB == Yet Another Bulletin Board...   ::)  You all are weird...

Homer


PogoCheats - It's all about the badges!!!

fatkid

Or second edition...

Like with Windows 98SE... It stands for second edition... YaBB could be Standard though...

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

 Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:

Shortcuts: ALT+S post or ALT+P preview