Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Joined: Aug 2001
Posts: 128
Member
Member
Joined: Aug 2001
Posts: 128
OK purchased Photopost... Now... help me out just a little... Do you all mean I need to modify ALL the templates and change something?

Do I need to modify all the stylesheets and put those other styles in? Little more explination on this part will greatly help me... please...

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Modification is pretty simple. No you do not modify all templates. You can tweak the ppopen and ppclosed template to match your tbopen and tbclosed.

The directions are pretty self explanatory.

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
I am running a UBBT 6.4 site with some very popular image forums. It contains loads of threads with multiple replies and lots and lots of attached images.

I am thinking of integrating PhotoPost with my site, to give users who just want to browse an easier way to look av the pics. Also I want to use photopost to get the great e-card stuff, ant use it with pal.

Is it possible to use this integration so that PhotoPost by itself creates new galleries when a new attachment filled thread is posted to a specified UBBT forum?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Gregori this is a design integration.

Photopost 4.8 has this built in

Your asking about another hack altogether which has not been created

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
Really?! Sounds great!

I couldnĀ“t find anything about this in the Photopost feature list for the latest version.

Any idea on when 4.8 will be released? (Guess it should be asked at the Photopost forum, but since you are everywhere... ) A month or a year from now?

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
The forum integration is listed on the 4.8 features list. We currently automatically grab the stylesheets from VB UBBThreads phpBB and InvisionBoard.

We are currently on a stable RC3 release. There is no definate date set for a final yet. We currently have all 3 products on a beta cycle at the moment using the forums style integration and going through correctly any bugs that are reported. I will say Photopost is pretty stable in the RC3 and we are working on catching any bugs from Reviewpost and Classifieds. I think we are shooting to release GOLD versions of all 3 products. However the developer has the final work on any release time lines. I hopefully forsee a release within a month.

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Anyone using this w/ 6.5b?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This should work fine for 6.5 - just make sure the path to main.inc.php is correct at the top of you pp-inc.php file.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yup using it with 6.5

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
How do you do it here on Threadsdev to display the Threadsheader in PP V4.8 ? I only get the default PP header. Is there a integration avaible ? I need this

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
cause you need to read the instructions. you need to change the photopost print header function so it uses your threads header instead..

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
The instructions for PP 4.7 dosnt match anymore with PP 4.8, there are lots of differences. PP now offer to user header and footer .htm files witch can be selected in the config options. Can this be a smarter way to get a result without modify the script itself ?

I'm not a coder and dont have a clue I see that PP runs here well and I like do it the same way on my site if it possible.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It's not integrated here - because Michael often runs beta - we just use a header which looks like our threads header. Photopost here is 100% stock.

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I am trying to install PP for the first time but I get an sql error.

And cannot log in.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/sdbs/public_html/photopost/forums/threads.php on line 2

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Ok nevermind I got it working...

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
The only thing I haven't figured out is how to display the Navigation bar so users can get back to the forums?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Photopost 4.8 by default pulls the stylesheet so this mod is not really needed for 4.8

I basically mocked up a navbar template on my install

http://www.reeftalk.com/gallery

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
OceanWest

Here is my navbar for photopost which is included in my header

It has the important stuff like control panel admin link etc etc so you can model after this

Code
<br /><?<br /><br />echo <<<PPPRINT<br /><br /><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"><br /><tr><br /><td class="tlc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td align="left" class="topleft"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="70" height="10" alt="" /></td><br /><td width="100%" class="top"><br /></td><br /><td align="right" class="topright"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td class="trc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /></tr><br /><tr><br /><td class="left"><br /><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td width="100%" colspan="3"><br /><table width="100%" align="center" cellpadding="0" cellspacing="0" class="tablesurround"><br /><tr><br /><td><br /><table cellpadding="2" cellspacing="1" width="100%" class="tableborders">  <br /><tr class="tdheader"><br /><td colspan="3" align="center">Welcome to ReefTalk</td><br /></tr><br /><tr><br /><td class="logo"><br /></td><br /></tr><br /><br /></table><br /></td><br /><br /></tr><br /></table><br /></td><br /><td class="right"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /></tr><br /><tr><br /><td class="blc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td align="left" class="botleft"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td width="100%" class="bottom"><br /></td><br /><td align="right" class="botright"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td class="brc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><br /></tr><br /></table><br /><br /><br /><br /><br /><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"><br /><tr><br /><td class="tlc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td align="left" class="topleft"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="70" height="10" alt="" /></td><br /><td width="100%" class="top"><br /></td><br /><td align="right" class="topright"><br /><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td class="trc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /></tr><br /><tr><br /><td class="left"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td width="100%" colspan="3"><br /><table width="100%" align="center" cellpadding="0" cellspacing="0" class="tablesurround"><br /><tr><br /><td><br /><table cellpadding="2" cellspacing="1" width="100%" class="tableborders"><br /><tr><br />PPPRINT;<br />if ( $User['userid'] > 0 ) {<br />echo <<<PPPRINT<br /><td align="left" valign="bottom" width="25%" class="menubar"><br />Welcome {$User['username']}.<br />[<a href = "http://www.reeftalk.com/ubbthreads/logout.php">Logout</a>]<br /><br /><br /><a href = "http://www.reeftalk.com/ubbthreads/login.php">My Home</a><br /> Ā·<br /><a href = "http://www.reeftalk.com/ubbthreads/contact/mycontacts.php" $target>My Contacts</a><br />PPPRINT;<br />}<br />echo <<<PPPRINT<br /><td align="left" valign="bottom" width="75%" class="menubar"><br />PPPRINT;<br />if ( $User['adminedit'] == 1 ) {<br />echo <<<PPPRINT<br /> <a href = "http://www.reeftalk.com/ubbthreads/admin/index.php">Admin</a><br /> Ā·<br />PPPRINT;<br />}<br />echo <<<PPPRINT<br /> <a href="http://www.reeftalk.com/ubbthreads/ubbthreads.php/Cat/">Main Index</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/index.php/Cat/" target="_top">Entrance</a><br /> Ā·<br />PPPRINT;<br />if ( $User['userid'] > 0 ) {<br />echo <<<PPPRINT<br /> <a href = "$phpurl/mypaymentpal/mypaymentpal.php" $target>Subscription Area</a><br /> Ā·<br />PPPRINT;<br />}<br />echo <<<PPPRINT<br /> <a href =" http://www.reeftalk.com/ubbthreads/search.php?Cat=" target="_top">Search</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/ubbthreads/online.php?Cat=" target="_top">Who's Online</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/ubbthreads/faq.php?Cat=" target="_top">FAQ</a><br /><br /> Ā·<br /><a href =" http://www.reeftalk.com/bio.php">Staff Bio's</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/sponsor.php">Sponsor's</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/gallery/index.php">Photo Gallery</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/reviews/index.php">Reviews</a><br /> Ā·<br /><br /><a href =" http://www.reeftalk.com/ubbthreads/chat/chat.php">Chat Room</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/ubbthreads/links.php">Site Links</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/shop.php">Reeftalk Store</a><br /> Ā·<br /><a href =" http://www.reeftalk.com/ubbthreads/calendar.php?Cat=" target="_top">Calendar</a><br /></td><br /></tr><br /><br /><tr><br /><td colspan="2" align="center" class="darktable"><br /><a href='http://www.reeftalk.com/plugins/phpAdsNew/adclick.php?n=a95d6f32' target='_blank'><img src='http://www.reeftalk.com/plugins/phpAdsNew/adview.php?what=zone:1&amp;n=a95d6f32' border='0' alt='' /></a><br /></td><br /></tr><br /><tr class="tdheader"><br /><br /><td colspan="2" align="center">Support our Sponsor's</td><br /></tr><br /><br /></table><br /></td><br /></tr><br /></table><br /></td><br /><td class="right"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /></tr><br /><tr><br /><td class="blc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td align="left" class="botleft"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><br /><td width="100%" class="bottom"><br /></td><br /><td align="right" class="botright"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /><td class="brc"><br /><img border="0" src="http://www.reeftalk.com/ubbthreads/stylesheets/images/spacer.gif" width="10" height="10" alt="" /></td><br /></tr><br /></table><br /><br /><br /><br /><br />PPPRINT;<br /><br />?><br />

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
What I would love to see is Which picture is being viewed on the "Who's online" page. Would something like that be possible/easy to do ?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
not really because all the online.php uses for the info of what they are viewing is the nameof.php to say where they are looking thats why all files must basically be split into several files to know where the person is viewing so in other words why there are addressbook.php myhome.php online.php showflat.php etc..

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Omegatron,

Thank You for pointing me in the right direction. I learn best by example and that helped me get on the right track. I am getting a broader understanding of hacking and I really do appreciate it.

Thanks Again

Stephen

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
It could be done with modification but an extensive one. You would need to intertwine the photopost online with threads online tables.

Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Question...

Why do I get different spacing? (www.sandiegobariatric.com) toggle between the photo gallery and the forums. There are no extra breaks in the header of the pp

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
Do I need to use this for PhotoPost 4.8.1? This is the most recent version of this integration, so I'm not sure yet. Thanks!

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
No no need to use this with 4.8.1

The css is automatically pulled.

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
And the Threads headers and footers too?

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Although you can have a CSS file - and a photopost sidebar - couldn't see any obvous method to add the same sidebar as the forums would use. Not without further hacking.

I would stress that I have not played with the new version very much - but initial inspection would seem to indicate that.

Que Chuck to correct me


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
is there an easy way to get the headers working ? ie, header.tmpl and ubbt_registerednav.php or unreg.... ?


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
[]Turbosport said:
is there an easy way to get the headers working ? ie, header.tmpl and ubbt_registerednav.php or unreg.... ? [/]

If you're referring to version 4.8.1 of PhotoPost using the threads header/footer & ubbt_registerednav.tmpl/ubbt_footer.tmpl, It is possible to do this. I teased it out by reading these instructions and making the first two edits to pp-inc.php mentioned in the instructions.

The first thing they tell you to add I added after the line requiring config.inc.php. The second part (the really long bit of code to replace) has changed, but you should still be able to tell where it starts and ends, then cut it out and paste the new code from the instructions. The last part about deleting one line you can ignore, because that line isn't there any more anyways (as far as I could tell).

Now I have my header/footer, nav bar, footer and IIP side bar all appearing in PhotoPost the way it did before. I hope that helps!

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
Sorry m8 no help at all, I cannot find the nav templates memtioned in these instructions ? (I take it you mean the instructions attached to the top of this post? )

can you show me the bit to change from you pp-inc file ?


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
I'll write it up for you tomorrow after I get off work

Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
Your a star


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
[]Turbosport said:
Your a star [/]

This SHOULD (I hope) do it. It it the original file for the modification, though I've changed what needs to be edited in the pp-inc.php file. I don't know if you need to edit the ubbthreads header_insert.php file or not, but mine has been edited following these instructions and I'm not having any problem. I also don't know if you need to edit the stylesheets anymore because supposedly PhotoPost can now read the threads stylesheets. If you do do this following the changes that worked for me, you won't need to turn on stylesheet synchronization in PhotoPost because it's part of this mod. Nor do you have to set the path to the header or footer. Good luck!
Attachments
118934-photopost-integration.txt (0 Bytes, 55 downloads)

Last edited by donJulio; 08/23/2004 7:22 PM.
Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
mmm still dosnt get the menu up for me

I am using 6.5b6 and PP 4.81


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: May 2004
Posts: 31
User
User
Offline
Joined: May 2004
Posts: 31
I have a stupid question. Do you have to purchase PhotoPost? It seems a lot of you are using it or just tinkering with it and that's usually not the case when it's a 'pay for' type of thing. No insults meant of course.

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 believe those using it have paid for it. It's not real expensive as far as software goes


- Allen wavey
- What Drives You?
Joined: May 2004
Posts: 31
User
User
Offline
Joined: May 2004
Posts: 31
Yeah, I can certainly see why people are getting it. I just got it myself and am loving it - although it's proving difficult for me to install all the way. I went through the setup (a number of times now!) and opted to use my UBBT user table for the users and it's all fine and good now except for one thing - how do I get to the admin section??? I can login using my UBBT accounts but nothing allows me to get into the admin section, not even my UBBT admin account.

Joined: May 2004
Posts: 31
User
User
Offline
Joined: May 2004
Posts: 31
Also, any help on the following error I'm getting five times at the top of every page would really make my day!!

Code
 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mydomain/public_html/photopost/forums/threads.php on line 285 


Here is what is at and around line 285..

Code
 foreach ( $ubbgroups as $groupvalue ) {<br />        if ( is_numeric($groupvalue) ) {<br />            $query = "SELECT groupid,cpaccess,modaccess,diskspace,uploadsize,uploads,comments,editpho,editposts,useralbums,reqmod,canassign FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid='$groupvalue' LIMIT 1";<br />            $result = ppmysql_query($query,$link);<br />            ********Line 285********list( $usergroup,$cpaccess_a,$modaccess_a,$diskspace_a,$uploadsize_a,$uploads_a,$comments_a,$ueditpho_a,$ueditposts_a,$useralb_a,$reqmod_a,$assign_a ) = mysql_fetch_row($result); *******END OF LINE********<br />            ppmysql_free_result($result); 

Page 3 of 3 1 2 3

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
isaac
isaac
California
Posts: 1,157
Joined: July 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
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)