|
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.
|
|
|
|
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
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.
|
|
|
|
Joined: Sep 2002
Posts: 151
Member
|
Member
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
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: <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. 
|
|
|
|
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
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
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
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
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
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...
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|