wonder if i can use this style or can i by this
FREE! >> Futuristic Style!
Collapse
X
-
You are correct its finished. NOw I have other problems how do I fix the mail Box % thing the green bar is not there or what ever the percent is there is not number Also the Report to A Mod Icon is missing. Also Active Topics is missing it shows no active topics.
HOw do I change everyone to the new Style by default.
ArmandoComment
-
I`ve just looked at the instructions in the style.txt for the pm gauge and a bit of it is missing find what you put in your index.php for the pm gauge and replace it with what is below and makesure you have uploaded the green.gif
//PM GAUGE HACK BY GOBLIN
$inboxpms=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND folderid=0 $ignoreusers");
if ($inboxpms < 1) {
$pmpercent = "1"; // stop divisions by zero
} else {
$pmpercent = round(($inboxpms[messages] / $pmquota) * 100,2);
}
if ($pmpercent>50) {
$barimg="{imagesfolder}/yellow.gif";
} elseif ($pmpercent>75) {
$barimg="{imagesfolder}/red.gif";
} else {
$barimg="{imagesfolder}/green.gif";
}
//PM GAUGE HACK BY GOBLINComment
-
Originally posted by thewiz
HOw do I get all the other things to work?
Like the Irc Chat and the doantions template
Are they hacks and what hacks are they?
I also need to get the status bar on the mail to work
Thanks
Armando
as said above to get the PM Gauge to work, place the green.gif in your images folder, and add this to your index.php just below the rest of the pm code near the top
PHP Code://PM GAUGE HACK BY GOBLIN
$inboxpms=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND folderid=0 $ignoreusers");
if ($inboxpms < 1) {
$pmpercent = "1"; // stop divisions by zero
} else {
$pmpercent = round(($inboxpms[messages] / $pmquota) * 100,2);
}
$barimg="{imagesfolder}/green.gif";
//PM GAUGE HACK BY GOBLIN
Comment
-
Originally posted by thewiz
I see that all the templates are there for the active topics but I do not see the boxes on my page maybe that include file that its calling will fic the problem.
PHP Code:if (!isset($mainfile)){
include("../vbp_includes.php");
ob_start();
include_once("last10.php");
$last10 = ob_get_contents();
ob_end_clean();
}
Comment
-
Thanks for the quick responce
Here is what I think I don't understand
you make a reference to a ../vbp_includes.php file
I do not see that file.
Or is this something I have to change on my end to another file name that is were I'm confused.
I have the last10 working if you would like to see it here is the link.
THanks
ArmandoLast edited by thewiz; Mon 15 Apr '02, 4:51am.Comment
-
confused a bit ...
sorry, i'm a little confused following this thread.... i think what I read what that a style was posted as a free style that had a screen shots of lots of cool hacks but folks found that the hacks were not in the templates or instructions on how to install them.
Is this right?
I'm a bit confused as to what is going on in this thead and after reading the posts, still confused .....
Anyone care to explain?Comment
-
vbp includes was already in the template for vb, I dont know what it is
silkroad - i had this hack on my forums and forgot to remove all of the hacks from the style, its not really much of a problem you will just have a few templates that do nothingComment
Related Topics
Collapse
-
by StephenKaySo I've been working on a new installation of vB 5.3.3, and I started with the Default Style. I've modified a bunch of things with css_additional.css. I started looking at style vars, and that made me...
-
Channel: Support Issues & Questions
-
Comment