Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
bjsjr 90 percent of the problems is with paths. why it is choking on that line is probably a path issue. I would need to see whats in the variables $port, $errno, $errstr and also what the exact error is.

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
gregori I see the shout box on the forum index so some things must be working.

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
The shout box has always been there, on my IIP.

have I got this side-bar thing all wrong? I thought it was going to let me show selected IIP boxes on the side, when browsing the forums?!

I was planning on taxing my advert box (yellow named "reklam" on the far right") and put it in a pal box.

Then let Sidebar show adverts and shout box on every forum page.

Just like my advert box works right now.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
IIP sidebar will allow any IIP box to be shown on any page unless ya specifically deny it by the $config['iip_call'] = 1;
on that php page. I saw the IIP shoutbox there and figured thats how you did it but I also see alot of other stuff and maybe the reason ya can't use the IIP sidebar is because of the other columns you have. IIP sidebar allows a right OR a left and you have a right and a left and a...

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
what I see is a left hand column and a right hand column with stuff then the forum index in the middle with the sidebar on the right? the sidebar seems to have the shoutbox, the login box, the stats box, the latest posts box, and two boxes that contain nothing.

Sponsored Links
Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
The box on the left (Named "Medlemskap" on top) and the box on the right (Named "Reklam" on top) is just php includes put in the header and footer files.

First I didn´t know what empty boxes you where talking about. Then I logged out and refreshed the page. And there the sidebar was! Not good looking (seems to be some language stuff missing: how can that be?), but it is there!

Is sidebar really supposed to replace the entire IIP page like this? I guess that will be prevented by adding $config['iip_call'] = 1; to my IIP index page?

But... as soon as I log in it disapears! Strange!

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
IIP is just the front page with custom boxes and no forum main index. Siderbar IIP is a Sidebar that shows up in any forum page unless ya use $config['iip_call'] = 1 on that particular page. Also you will need to set the generic placement of the IIP sidebar in the admin->themes config and you will need to set all CURRENT users to either right or left depending on where you want it initially using a query such as

UPDATE U_Users SET U_Sidebar = 'left'

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
I have replaced the UBBT index.php with IIP index.php. With $config['iip_call'] = 1; on that page, the sidebar stays away now.

"U_Users"?? I just get an error saying that dont exist in the database. Can´t find anyting about U_Users in the SidebarPal manyal either.

I have runed this command:
Code
<br />UPDATE w3t_Users SET U_Sidebar = "right" WHERE U_Sidebar = ''<br />

but I still have to log out to see the sidebar.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah anothr brain fart should have been w3t_Users

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Actually from the instructions
[]
- Users will need to turn the sidebar on in the "Display Preferences" of My Home.
If you wish to update everyone's record so that the sidebar is on (recommended)
You need to do this SQL query:
UPDATE w3t_Users
SET U_SideBar = 1

* Note put 1 if you want the default to be the left, put 2 for the right.

[/]

So use the numbers rather than "left" or "right" in the database.

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
thanx Josh was searching for that earlier and had another brainfart

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
JoshPet -->

It works! Nice! Thank you all!

Noq I just have to fixa this language problem. have my site set to swedish, but sidebar don´t seem to find the swedish llanguage file. Guess thats why the shout box do not get a headline.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
make sure the $palspath in the index.php in the docroot for IIP has the proper path and also is called by include "{$palspath}/pals/languages/${$config['cookieprefix']."w3t_language"}/languagepal.php";
which depending upon YOUR cookie will go to the right path in the pals/langauages folder.

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
But the sidebar uses "$thispath" and not $palspath.

Where is "$thispath" defined?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
$thispath is defined in main.inc.php

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah $thispath is one of the things that is defined when you first run the ubbthreads install.

Joined: Jul 2003
Posts: 26
User
User
Joined: Jul 2003
Posts: 26
I have a number of members using Opera (it's a Web browser)
With Sidebar on the left it causes everything to get centered on every other page that does not specifically have align="right


The fix is to remove the last align="center" in sidebar_leftopen.tmpl

##### In your /templates/default/sidebar_leftopen.tmpl CHANGE THIS

echo <<<UBBTPRINT


</td>
<td align="center" valign="top">

#### TO THIS

echo <<<UBBTPRINT


</td>
<td valign="top">

Joined: Aug 2002
Posts: 32
User
User
Offline
Joined: Aug 2002
Posts: 32
Whats needed to make this go 6.5?


Organizer
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You don't need this in 6.5 - the IIP for 6.5 already has the sidebar I believe.

Joined: Aug 2002
Posts: 32
User
User
Offline
Joined: Aug 2002
Posts: 32
[]JoshPet said:
You don't need this in 6.5 - the IIP for 6.5 already has the sidebar I believe. [/]

I saw an sidebar.php file in the package, but I can't see any information on how to set that up? I need a sidebar on all or some of the pages but I am not going to use the IIP entrance....

So that can be done autoamtically now in IIP 6.5 somehow?


Organizer
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
just do the IIP setup and leave out the areas where it doesn;t mention sidebar..

Joined: Aug 2002
Posts: 32
User
User
Offline
Joined: Aug 2002
Posts: 32
Sorry to be such a newbie but there is in editconfigpal.php first time running no mention of any sidebar at all, what am I missing? I need a sidebar to my normal board pages like when showing ubbthreads.php and maybe postlist.php, flat.php etc. as well... but I was not thinking to use the IIP entrance page and/or any other functions...

So how do I set up such an sidebar in IIP 6.5 ???


Organizer
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
You would need to use this mod and just rewrite some code for 6.5 if you do not want to use the 6.5 or add the 6.5 IIP and just don;t use the index.php in your main directory. as long as there is no index.php there it won't matter...

Page 2 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)