php forum
php mysql forum
php mysql smarty
 
Topic Options
#279236 - 09/02/04 09:19 PM IIP 6.5 Links in SideBar Broken
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
I am sure that I must have botched a simple piece of code somewhere so maybe someone could help me track it down. When clicking on a link say in Hot topics on the Entrance page I get this (which works)<br /><br />
Code:
http://emeraldforestseattle.com/ubbthreads/showflat.php/Cat/0/Number/77335  
<br />but when I click on the same link in the Sidebar I get this (which doesnt work)
Code:
 http://emeraldforestseattle.com/ubbthreads/showflat.php/Cat//Number/77335 
<br /><br />Any idea which script I may find this in?<br /><br />thankyou
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#279237 - 09/02/04 11:07 PM Re: IIP 6.5 Links in SideBar Broken [Re: barbiro]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
your missing your $Cat variable which is developed for the sidebar in the sidebarpal.php in these lines<br /><br /> if ($Cat && !$configpal['forcepublic']) {<br /> $CatArray = split(",",$Cat);<br /> $CatSize = count($CatArray);<br /> $catonly = "AND (Bo_Cat = '";<br /> for ($i=0; $i<$CatSize; $i++) {<br /> if (!preg_match("/[0-9]/",$CatArray[$i])) { continue; };<br /> if ($i >= 1) {<br /> $catonly .= "' OR Bo_Cat = '";<br /> }<br /> $catonly .= "$CatArray[$i]";<br /> }<br /> $catonly .= "')";<br /> }<br /> else {<br /> $CatArray[0] = "0";<br /> $CatSize = 1;<br /> $catonly = "";<br /> }<br /><br /><br />try turning force public on/off
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#279238 - 09/03/04 03:56 PM Re: IIP 6.5 Links in SideBar Broken [Re: 234234]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Hmm I tried turning off force public but it did not fix the problem. Could I have missed a line in one of the scripts maybe? I am going to comb over my ubbt.inc as its the only one I can guess that would have anything to do with that. I am only guessing <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks