[]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...
[]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.
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
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.
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.
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.
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
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
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.
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.
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
[]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.
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.
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
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
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:
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.
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.