|
|
Site Support If something isn't working or you have a suggestion ( a nice one !! ) let us know here. |
|
Thread Tools | Display Modes |
30-03-2007, 03:52 AM | #1 | ||
FF.Com.Au Hardcore
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 2,434
|
Only on the Index Page, do i get a bunch of php code up the top:
0 ) { $query2 = "SELECT cat,laston FROM {$pp_db_prefix**laston WHERE userid=$UserID"; $last = mysql_query($query2); while ( list( $lastcat, $lasttime ) = mysql_fetch_row($last) ) { $laston[$lastcat] = $lasttime; ** mysql_free_result($last); ** $catcol = 0; // Cycle through the categories for ( $y=0; $y < $x; $y++ ) { list( $CatNumber, $CatTitle, $CatDesc, $mainorder, $maincatparent, $maincatthumbs, $mainchildren, $mainnumphotos, $mainnumposts, $mainlastphoid, $mainlastphoby, $mainlastphobyid, $mainlastphotime, $maintitle, $mainlastpostby, $mainlastpostbyid, $mainlastposttime, $mainlastpostlink ) = $maincats[$y]; $CatTitle = stripslashes($CatTitle); $CatDesc = stripslashes($CatDesc); if ( $mainchildren != "" ) $mainchildren = "$mainchildren"; else $mainchildren = "$CatNumber"; $processcats = explode( ",", $mainchildren ); // --------------------------------------------- // Now cycle through the boards in this category $firstpass = 0; while ( list($num, $eachcat) = each($processcats) ) { list( $CatID, $Title, $Description, $order, $catparent, $catthumbs, $Children, $showphotos, $showcomments, $lastphoid, $lastphoby, $lastphobyid, $lastphotime, $photitle, $lastpostby, $lastpostbyid, $lastposttime, $lastpostlink ) = $subcats[$eachcat]; $catdepth = 0; $Title = stripslashes($Title); $Description = stripslashes($Description); // First thing is to check the indent level $chkparent = $catparent; do { if ( $chkparent == 0 || $chkparent == $parent ) break; $chkparent = $subcats[$chkparent][4]; $catdepth++; ** while ( $chkparent != 0 ); // This is the setting that determines how many levels you will print on the main index // A setting of 1 just means the first level of subcats under the main categories if ( $catdepth > $showlevels ) continue; if ( $showmg == 1 && $CatID == 500 ) continue; // Make sure they have permission to be here if ( $ViewPerm[$CatID] == 1 ) continue; // Now add up the number of photos per child $numnew = 0; if ( $UserID > 0 && ($lastphotime > $laston[$CatID] || $lastposttime > $laston[$CatID]) ) $numnew = 1; if ( $Children != "" ) { $processkids = explode( ",", $Children ); while ( list($num, $eachkid) = each($processkids) ) { $showphotos += $subcats[$eachkid][7]; $showcomments += $subcats[$eachkid][8]; if ( $UserID > 0 && ($lastphotime > $laston[$eachkid] || $lastposttime > $laston[$eachkid]) ) $numnew = 1; ** ** // ----------------------------------------------- // Open a table on the first pass through this cat if (!$firstpass && $CatID != MOBILE_CAT) { if ( $CatID == 500 || $CatID == $mobilecat ) { $pp_cat_list .= << $CatTitle PPPRINT; ** else { $catcol++; $colimg = &$vbcollapse["collapseimg_photo_$catcol"]; $colobj = &$vbcollapse["collapseobj_photo_$catcol"]; $pp_cat_list .= << $CatTitle PPPRINT; ** $firstpass = 1; ** // -------------------------- // Which folder do we display $boardfolder = "nonewposts.gif"; if ( $numnew > 0 || ($UserID == 0 && $showphotos > 0) ) { $boardfolder = "newposts.gif"; ** if ( $CatID == 500 ) $whichcat = "showmembers"; elseif ( $CatID == MOBILE_PROC ) $whichcat = "showmobile"; else $whichcat = "showgallery"; $pp_cat_list .= << $Title $Description $showphotos $showcomments PPPRINT; // If you want a "number of new photos/comments indicator, you have a couple extra // queries per displayed category //if ( $numnewp != 0 ) $showphotos = "$showphotos $numnew"; //if ( $numnewc != 0 ) $showcomments = "$showphotos $numnew"; // vB calls to format time $pptime = @date("F d, y", $lastphotime); //$pptime .= " " . @date("h:i A", $lastphotime) . ""; if ( $showphotos != 0 ) { $photitle = stripslashes($photitle); $pp_cat_list .= << $photitle by $lastphoby on $pptime PPPRINT; ** else { $pp_cat_list .= <<Never PPPRINT; ** $pp_cat_list .= << PPPRINT; ** ** $photopostcats = ""; if ( $pp_headers == "yes" ) { $photopostcats = <<PPPRINT; ** $photopostcats .= $pp_cat_list; if ( $pp_headers == "yes" ) { $photopostcats .= << Photo Galleries Images Posts Last Photo PPPRINT; ** // // End PhotoPost Categories // // If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database! //mysql_select_db ("vb_database"); ?>
__________________
AUIII Falcon Forte, with SIX Appeal |
||
30-03-2007, 04:20 AM | #2 | ||
Tricolore Tard
Join Date: Dec 2004
Location: Brisbane
Posts: 1,954
|
Aye skip, get the same thing in Firefox and IE.
Me thinks someone has broken something hehe Chris
__________________
|
||
30-03-2007, 07:44 AM | #3 | ||
Virtuous Bogan (TM)
Join Date: Jan 2005
Location: TAS
Posts: 27,478
|
same here!
__________________
|
||
30-03-2007, 07:51 AM | #4 | ||
BLOWN 383 CHEV OWNER
Join Date: Jan 2006
Location: SE Qld.
Posts: 4,398
|
same here too!
|
||
30-03-2007, 07:54 AM | #5 | ||
searching.....
Join Date: Mar 2007
Location: QLD
Posts: 178
|
Me too.
|
||
30-03-2007, 08:14 AM | #6 | ||
MY21.5 Mustang GT
Join Date: Dec 2004
Location: Shoalhaven, NSW
Posts: 2,450
|
ditto...thought it was just me, tried FF and IE both the same...
__________________
2021 Mustang GT in Rapid Red | XDA-Developers Assistant Admin
|
||
30-03-2007, 08:33 AM | #7 | ||
Moderator
Join Date: Feb 2005
Location: Kenthurst
Posts: 40,359
|
Someone broke the Internet
__________________
The Current Stable 2016 SZII TS Territory RWD Petrol The Evolution of the EGA54D utes AU Workshop Build thread of EGA54D B-Series Workshop Build thread of EGA54D 2004 SX TX Territory AWD - Gone but not forgotten 2010 FG XT "The ex-rental" - Moved onto a new home Mechan1k's Flickr Page |
||
30-03-2007, 08:39 AM | #8 | ||
Custom user title
Join Date: Jan 2005
Posts: 1,892
|
yup mines broken
|
||
30-03-2007, 08:48 AM | #9 | ||
off in outer space
Join Date: Feb 2005
Location: newcastle nsw
Posts: 1,176
|
the end is coming, the end is coming arrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
|
||
30-03-2007, 08:48 AM | #10 | ||
Banned
Join Date: Jun 2005
Location: In A House
Posts: 2,467
|
yep its happening here too
who f'd it : jks aside at least the other bits work thats the main thing |
||
30-03-2007, 09:45 AM | #11 | ||
Adapt or perish...
Join Date: Jan 2005
Location: Dip!@#$
Posts: 7,954
|
Morning all...
Got this to come up this morning... Anything I should be worried about?
__________________
Carless
|
||
30-03-2007, 09:47 AM | #12 | ||
White Lightning
Join Date: Dec 2004
Posts: 1,870
|
yep i get it too, site still works fine.
|
||
30-03-2007, 09:48 AM | #13 | |||
FF.Com.Au Hardcore
Join Date: Sep 2005
Location: North Brisbane
Posts: 8,529
|
__________________
Quote:
|
|||
30-03-2007, 09:51 AM | #14 | ||
Adapt or perish...
Join Date: Jan 2005
Location: Dip!@#$
Posts: 7,954
|
My bad.
Three late nights in a row + no coffee = brain dead.
__________________
Carless
|
||
30-03-2007, 10:48 AM | #15 | ||
Mr. Multiple Projects
Join Date: Jun 2005
Location: morayfield qld
Posts: 3,801
|
lol yeah it got me wondering too... i just installed vista to have a muck around and its been nothing but issues so i thorght it was yet another one of microsofts fantastic feature :P
__________________
1985 KB laser Turbo white lightning 3 door EFI 1927 Model T 1998 GU Patrol 2004 Forester Turbo 2006 Corolla Wagon BLAAAAAAACK |
||
30-03-2007, 11:04 AM | #16 | ||
E-series mutantette
Join Date: Dec 2004
Location: Murray Bridge, SA
Posts: 270
|
yeah im getting that too. weird.
__________________
'93 ED GLi Falcon White, auto, performance 15's, Pioneer DEH-P4650 MP3 H/U, Pioneer 6's. Future mods: Speed Holes! |
||
30-03-2007, 11:09 AM | #17 | ||
BLOWN 383 CHEV OWNER
Join Date: Jan 2006
Location: SE Qld.
Posts: 4,398
|
seems like it is fixed
|
||
30-03-2007, 11:26 AM | #18 | ||
FF.Com.Au Hardcore
Join Date: Jul 2005
Location: Melbourne
Posts: 587
|
Yer looks to be fixed
|
||
30-03-2007, 11:29 AM | #19 | ||
Forum Director
Join Date: Feb 2006
Location: Boro
Posts: 1,187
|
What was fixed?
There was no error. Really. There wasn't. : |
||
30-03-2007, 11:31 AM | #20 | |||
BLOWN 383 CHEV OWNER
Join Date: Jan 2006
Location: SE Qld.
Posts: 4,398
|
Quote:
|
|||
30-03-2007, 01:52 PM | #21 | |||
FF.Com.Au Hardcore
Join Date: Dec 2004
Posts: 12,077
|
Quote:
Well maybe it is not always good to be the King..... |
|||
30-03-2007, 01:56 PM | #22 | |||
Tricolore Tard
Join Date: Dec 2004
Location: Brisbane
Posts: 1,954
|
Quote:
There were errors hehehe :P Glad its all working again now though
__________________
|
|||