Previous Thread
Next Thread
Print Thread
Rating: 5
Page 3 of 6 1 2 3 4 5 6
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Just wanted to report that yes before this

[]Near the top of the pp-inc.php file, just after you require main.inc.php

Put this:


Code:


// Setup the table wrappers
$html = new html;
list($tbopen,$tbclose) = $html -> table_wrapper();

[/]

was added the table wrappers did not wrap.. and also the only page I notice that the tables still don't wrap is in the slideshow.tmpl because there is NO tbopen or tbclosed in there and I tried unsuccessfully to add them it just doesn't wrap it correctly...

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
[]scroungr said:
Just wanted to report that yes before this

[]Near the top of the pp-inc.php file, just after you require main.inc.php

Put this:


Code:


// Setup the table wrappers
$html = new html;
list($tbopen,$tbclose) = $html -> table_wrapper();

[/]

was added the table wrappers did not wrap.. and also the only page I notice that the tables still don't wrap is in the slideshow.tmpl because there is NO tbopen or tbclosed in there and I tried unsuccessfully to add them it just doesn't wrap it correctly... [/]

Yeah I know that thats why I wrote the mod the way I did

Af far as the slideshow template must have missed that one. Here is one with the tbopen tbclose and it works fine.
Attachments
97899-slideshow.tmpl (0 Bytes, 56 downloads)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
You're the man... I must have tried about a dozen incarnations...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


I put in a feature request at pp.com to get something like this added to the base code, would improve consistency in layout, encourage more design innovation, and make something like this mod much easier


- Allen wavey
- What Drives You?
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I don't think Michael would have a problem with that feature but alot of their base is VB based so no matter what we are a small majority here.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Would be easier for both threads and vb if something like this is done in the base code


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Is anyone else running this with the sidebar pal?

I have notice on my site, if I click on the login from the photopost menu, the login box is at the foot of the page, beneath the sidebar - it is almost as if a </table> is missing.

http://photos.nonleague.com/login.php?login=yes

As I am not using tablewrappers - I am just using the menubar template, as well as the main file alterations.

I realise I can delete this login - but just wondered if it was my sidebar doing it, but can't find anyone else using the sidebar with photopost.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I looked at the sourcecode.

I confirmed what your saying but am unable to see where the error is EXCEPT to confirm this in the html

There is a part of html which is invisible without the sidebar

<td class="menubar" valign="middle" width="50%">
 
</td>

<td class="menubar" width="50%" align="right" valign="middle">
 
</td>

When the sidebar is there what happens is that html is repeated over and over. From what I have seen it is the menubar. Have no idea why it would repeat just in this instance. Every file uses the menubar must be only when it is empty it causes this

You can comment out the require menubar statement in login-inc.php and that will solve your problem.

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
does this work on reviewpost?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yes it does

Sponsored Links
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
cool thanks!
off i go to install!

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Has this been tested with 4.5?


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I run it fine with 4.5

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
ok, must be me and my tired eyes.. missing somehtin..


- Custom Web Development
http://www.JCSWebDev.com
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
<edit></edit>

Going back to stock templates.. Zzzzzzzzzzzzz


- Custom Web Development
http://www.JCSWebDev.com
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Well I tried again today, with no luck. furthermore the hack added to the pp-inc file caused some visitors to recieve a download window when viewing the page (Matty J & Jacob from IP). I didn't see it. I removed the hack and they said it was fine. I'm NOT knocking this hack, just reporting what happened. I have since loaded clean and opted to use the header/footer function of PP, and made a few fixes on the templates to make it blend with my current look better.

No idea what went wrong, this was tried using the latest build from PP as of yesterday.


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
JC,

No one seems to have as much trouble as you with this thing

I am using this hack on the latest Photopost released as of this afternoon with no problems.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
I read the instructions, followed them, and no luck. Prolly a server thing. Dunno.. I seem to find the troublesome isntlals that break it .. don't I ..LOL


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well whenever you want me to check an install and see if I can get it going all ya gotta go is ask for help

Josh and I found over time maybe 2-3 servers that had trouble reading the tbopen-tbclose variables in the templates.

However never has anyother problems been reported if instructions are followed.

Now the bare minimum on this hack would be to do the hacking in pp-inc.php and adm-inc.php and add the header-insert into the threads header-insert. Then make the class calls in the stylesheets.

We found one problem with the header call which you found. But that did not stop the hack from working it made the admin section choke if you remember. That was because of the new frames that came out in 4.1

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Today I setup the 4.5.1 of PhotoPost with your latest design integration, downloaded from the top of this thread. I encounter several diefferences how to modify the files. It seems that lot of the code was changed.
I mange to setup it up but if I upload your templates the whole layout is destroyed.
If I use the original templates nearly everything looks fine exept the admin pages witch are black/white but this dosn't matter.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Then you did not complete the mod as instructed.

The admin section for one in the instructions says to place a link to your default stylesheet in adm-inc.php

As far as the templates. There are two versions 4.1 and 4.5

I relooked at the directions and they are fine. There was one line that was not different in 4.5 The place to place main-inc.php call but not so different no one could figure it out or for that matter it would matter.

require "config-inc.php";
if ( !isset($PP_PATH) || empty($PP_PATH) ) $PP_PATH = ".";
if ( !isset($pplang) || empty($pplang) ) $pplang = "english";
require "$PP_PATH/languages/$pplang/pp-inc.php";

If you say your layout is destroyed using the templates then I would say you have not set the paths to your tbopen tbclose variables example below
Also directions also tell you to set them in feature.tmpl also

/// Require the library. Edit the path to the
// main.inc.php file if necessary.
require ("/usr/local/apache/htdocs/ubbthreads/main.inc.php");
require ("/usr/local/apache/htdocs/ubbthreads/templates/default/tbopen-default.tmpl");
require ("/usr/local/apache/htdocs/ubbthreads/templates/default/tbclose-default.tmpl");

Refollow the directions as nothing has changed except that one line I pointed out and if you do you will have something like this when done

http://www.reeftalk.com/gallery/index.php

http://www.socaps.com/photopost/index.php

http://www.stormchat.com/photo/index.php

http://www.ultimatenurse.com/gallery/index.php

Those are a few off the top of my head.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
[]Omegatron said:
Then you did not complete the mod as instructed.[/]

your now, you are right I miss one point to edit one path.

[]If you say your layout is destroyed using the templates then I would say you have not set the paths to your tbopen tbclose variables example below
Also directions also tell you to set them in feature.tmpl also[/]

Yes, thats not in the instructions.txt so I dont take a look at this file. After fixing this, the lower part of the layout looks good. but there asre still some 'errors'. Can you take a look to www.dragonclan-forum-de/photopost/index.php to verify my mistake, please ?

[]
/// Require the library. Edit the path to the
// main.inc.php file if necessary.
require ("/usr/local/apache/htdocs/ubbthreads/main.inc.php");
require ("/usr/local/apache/htdocs/ubbthreads/templates/default/tbopen-default.tmpl");
require ("/usr/local/apache/htdocs/ubbthreads/templates/default/tbclose-default.tmpl");
[/]

What are the tb***-default.tmpl ? I dont have such files.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I was using that as an example my friend.

Those are my paths and default templates I am calling which have tablewrappers

You need to edit the path as it states to your tbopen and tbclosed templates.

I just double checked my directions again my friend. You must have missed this as you say it was not in the instructions look again

[:"red"]this was taken from the directions[/]

TEMPLATES:

In photopost templates provided edit path to tbopen-tbclose variables in feature.tmpl only
Also in your tbopen threads template you may need to replace the theme_width statement in the first table
with your width.

I would look at your site but seems I can not connect to it. I did notice your wrong path of -de instead of .de but either does not work.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Okay I visited your site. It looks like you added the stylesheet calls GOOD

It looks to me like you have not set your paths to the tablewrappers correctly. You can PM me if you need help.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Omegatron:
My PhotoPost 4.5.1 looks nothing like the one here. After this integrtion.
http://www.estrellasdetelenovela.com/galeria/
What do you think I did wrong? I could have sword I did every single step this time

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Same error as his you have not set the tablewrappers statement in pp-inc.php

There are three paths to fill out in pp-inc.php as well as in the feature template as well.

Pretty straight forward

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Oh. I didn't see that in the instructions. I thought the table wrappers part was only in the feature.tmpl file, which I did edit.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Ok, I know how to fill out a path. But I don't know where they are in the pp-inc.php file. Can you tell me what the line numbers are for the three instances where I have to set the path to the table wrappers in the pp-inc.php file? I'll still try to find them myself, but if you know off-hand, that will help

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
I've fixed it. Thanks for your answers! There is however a problem in the instructions:
[] Open pp-inc.php

Find:

require "config-inc.php";
require "languages/$pplang/pp-inc.php";


Insert Below this and set path to main-inc.php:


/// Require the library. Edit the path to the
// main.inc.php file if necessary.
require ("/PATH/TO/main.inc.php");

// If you use IIP's sidebar you may want to uncomment the line below
// to disable the sidebar on Photopost pages
// $config['iip_call'] = 1;
[/]

It should also have:
[]
require ("/PATH/TO/templates/default/tbopen.tmpl");
require ("/PATH/TO/templates/default/tbclose.tmpl");
[/]


Last edited by donJulio; 11/25/2003 3:32 PM.
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Cool thanks got that updated.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
New instructions and templates, and Zlib off in PP Pro was fixed my probs.


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Ah No JC yeah doing zlib in both threads and photopost is a no no LOL

I think Josh and I found that out along time ago

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yes..... I'll never forget that lesson learned.

I donn't think Allen will either. But hey, we were blazing the trail for integrations, right? LOL

JC called me and I helped him get it sorted. I knew the problem the first time I saw that "jibberish" page.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
The lovely gibberish page.

Yes oh so well on my first integration every. Way Back in like the first or second PHP version.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Yup - me too - mind you anyone reading the whole thread wouldn't have the problem, as I mentioned it within the first dozen posts


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
After reading the Instructions again and again I can find all things to do But I have a final question:
[]
TEMPLATES:
...
Also in your tbopen threads template you may need to replace the theme_width statement in the first table
with your width.
[/]

What exactly mean this ? My tbopen.tmpl is default and look like this:
Code
<br /><? //UBBTREMARK<br />$tbopen = <<<UBBTPRINT<br /><br /><table width="{$theme['tablewidth']}" align="center" cellpadding="1" cellspacing="1" class="tablesurround"><br /><tr><br /><td><br /><table cellpadding="{$theme['cellpadding']}" cellspacing="{$theme['cellspacing']}" width="100%" class="tableborders"><br /><br />UBBTPRINT;<br />/* UBBTREMARK */ ?> <br />


It seems that the instructions need some more hints for dummy's like me And don't forget the hint about zlib

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]Ian_W said:
Yup - me too - mind you anyone reading the whole thread wouldn't have the problem, as I mentioned it within the first dozen posts [/]

What? Read the thread before asking? What are you saying. :lol:

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Click on "Edit theme file" under Admin and see what you have for your table width - if you have "95%" then change this:

{$theme['tablewidth']}

To this:

95%


etc....

Hope that helps.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
[]JoshPet said:
Hope that helps. [/]


aaahhhh ! It works Thanks.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Maybe I found a little bug:

Go to UBB Threads admin section.
use the Photopost link in the menubar.
Photopost will load in the top frame of the admin display and will not refresh the whole display.

Page 3 of 6 1 2 3 4 5 6

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
Posts: 70
Joined: January 2007
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 20240506)