I can't seem to get this to work Omegatron. My problem is in the ubbthreads.tmpl file that I edited. I added the text to the file as instructed (I'm even attatching a copy of the file here, assuming I can attatch .tmpl files) and the photopost index is not added to the ubbthreads.php page: http://www.estrellasdetelenovela.com/foros/ubbthreads.php?Cat= If you highlight the area under the last forum you'll see the error that I'm getting. How can I fix this? I've tried several times already w/o asking for help and it always does the same thing. I'm sure I'm missing something.
All the paths look right to me. The ubbthreads.tmpl file is in the templates/default directory and so is ubbt_photopost.tmpl. The path in ubbt_photopost.tmpl is set to /home/estrella/photopost.inc.php and the urls are set correctly in the photopost.inc.php file (which I keep above the web root). Any ideas?
**********EDIT************** It's probably some stupid operator error, but if you can't think of what it is and you're willing to help, I can PM you login information so you can SSH into the account a look at the files.
You indented the UBBTPRINT AND echo <<<UBBTPRINT statements
Thats a NO-NO
Since there was space before those statement which control the switching from HTML to PHP code that require statement was chocking as a result. [/] Thank you Omegatron. I will confess that doesn't make much sense to me, but I will take a look at the template file you changed to see what it was I did wrong. Thanks for the help! BTW, it looks very nice
************EDIT************* OK. I looked at it and I see what I did wrong clearly. Thanks!
Look at the bright orange going all way around the ubbt_footer template as well as the footer. That's all from the tablesurround class, but it wasn't happening before. What do I need to edit in the ubbt_photopost.tmpl so that the orange from this class stops at the end of the photopost template. Currently it just keeps on going, as if maybe a table wasn't closed. Any ideas?
**********EDIT************ It looks like a $tbclose may be missing from the ubbt_photopost.tmpl file after the first category of photos. Which means that the $tbclose at the end of the file closes the second category, but not the whole table. I don't know if this makes sense the way I'm writing it, but it's better illustrated by looking at this page: http://www.telenovelas-online.com/foros/ubbthreads.php?Cat=&C=4
See how the second category is a little indented from the first? I think that there was supposed to be a $tbclose between the two.
FYI Omegatron, if anyone else has the same problem of users who haven't activated their account logging in through the Photopost login link, I have the solution: Copy the threads login.php and login.tmpl files to the appropriate folders in the photopost folder. Then edit login.php and change the path to main.inc.php and to the path to /ubbthreads/languages/*/login.php. Worked for me!
In my case, I had Photopost and UBB.Threads in separate folders. So I changed the path from main.inc.php to ../nameofthreadsfolder/main.inc.php. I also added ../nameofthreads before the path to the languages/login.php file.
[]Omegatron said: I would have looked at why you had problems!!! before doing that.
UbbThreads and Photopost work right out of the box together. You have obviously something set wrong if you could not login. [/]
It's not that I couldn't login, but rathter that other users could login through the photopost login page w/o first verifying their email, which is a problem with photopost. I just removed that login page and replaced it with a threads one because that login script won't let them login until they've activated their accoount. Though I have let them know of the issue at the Photopost forums.
Any word on the lightbulbs thing? I saw another thread about this stuff, and said adding $UserID = $user['U_Number']; in the ubbthreads.php would fix it, but it doesnt.
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.