Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 3 1 2 3
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well the integration will be done before the release.

As soon as Michael sends me the beta and he has released the templated version publically I will release the integration the same time. I had prior experiences with the templated version of Reviewpost so it is rather easy to do Photopost and should cut down the instructions to nothing but modifying 3 files and uploading the new templates.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Thx for your effort, chuck.

But i doubt that i'll integrate it into the forums. All i want is to use the same user-db. I'll integrate it as an module of my site.

The forum is only one part of our site, quite an important one, but only a part. I hope to get my event calendar released in the next week and our webmail client will follow in september.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
That sounds cool Astaran

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
It will be cool when it's finished.
I still need to revamp the template system and make the output XHTML compilant.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
works fine. But I encounter a little problem. The slideshow function dosn't work anymore. I dont know this come from hacking or its a bug in the script itself.

I dont use an filter or blocker. Can anyone verify this ? Here on Threadsdev it dosn't work for me and on my 4.01 version it dosn't work too.

Sponsored Links
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Sent it over, Chuck!

The 4.1 BETA should be out shortly - sending it over today.

http://www.danasoft.com/phpppsp2 is the "test site" people can use to try it out and upload stuff.

Threads users will be happy - I used a similiar template setup (no way doing the VB kind with everything in the database and requiring the tiny admin window to edit!); so everyone should be real confortable.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
That is a bug I discovered and will update this when I complete the next release very soon. It is real simple adjustment in pp-inc.php give me a few.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
fine that you can verify it. You have all the time you need I will do the next big update if I install UBBt 6.3.1 and pp 4.1 with all hacks. Weekendjob

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
OKay I have the fix Zackary contact me privately and I can explain how to do it until I release the next release.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
How does removing the $header code - which removed the refresh meta refresh - fix the slideshow? I wasn't aware there was a problem with it - is this a Threads thing?

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
You know what Michael that is the weirdest thing. It is more coder error than anything. I don't think its a threads bug or a photopost bug my friend. The main part of how this easy hack works is by bypassing your headers and stylesheets and using Threads variables. Your headers were always blanked out so nothing is sent.

I think the easiest explanation is that the slideshow needs looks to the header to see $headslide ???? which of course usually there. To fix the slideshow I just reversed the hacking on the printfunction for slideshow. The only call in the header that was put back in that I can think would stop it would be that. You would know better.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Except in the cases where the user has selected to turn headers "off" for the slideshow; in which case, you just need to send a simple header with nothing but the refresh meta tag and a title. But I noticed you blanked that out and thats the part that confused me - if headers are "off" and it doesnt print any headers, how does it refresh?

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Really all I should need to do in the future is just remove the stylesheet call anyway.


Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
sugestion for a little enhancement:

If we use IIP 5.3.1 it would be nice to have a custom pal box to display a thumbnail of a random picture from the gallerie like 'Picture of the Day'.


Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
[]Zarzal said:
sugestion for a little enhancement:

If we use IIP 5.3.1 it would be nice to have a custom pal box to display a thumbnail of a random picture from the gallerie like 'Picture of the Day'.

[/]

There is a hack for a photo pal box around here someowhere... although I don't know off hand where

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I can post it Zarzal.

I have been using one for quite a while. I updated the original one posted by casper along time ago. I posted it in forum design integration for you.

https://www.ubbdev.com/forum/showflat.php?Cat=&Number=89732

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Thanks ! I got it, modified to my enviroment and it works. Great.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I use pp4.01, not the new beta. If a user browsing the gallerie UBBt who-is-online show the user state 'administration'.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Zarzal this hack is the one for 4.01 correct. To show the gallery in the who's online add the following to the online.php file in your language directories near the end before the ?>

$ubbt_lang['showgallery'] = "Viewing a Gallery";
$ubbt_lang['addfav'] = "Adding a favorite Picture";
$ubbt_lang['adm-index'] = "Administrating the Galleries";
$ubbt_lang['bulkupload'] = "Uploading a bunch of photos to the Gallery";
$ubbt_lang['showphoto'] = "Viewing a photo in the Gallery";
$ubbt_lang['comments'] = "Commenting on a photo in the Gallery";
$ubbt_lang['slideshow'] = "Veiwing a slide show in the Gallery";
$ubbt_lang['uploadphoto'] = "Uploading a photo to the Gallery";


Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Thanks again, this looks much better ! Good work

Joined: Sep 2000
Posts: 49
Power User
Power User
Offline
Joined: Sep 2000
Posts: 49
This is a fantastic piece of work -- thanks for this.

The "Help" link doesn't work on the Upload Photo page. I've tried this on a couple sites. Doesn't work on mine, ubbdev.com, or reeftalk.com. (Works at other PhotoPost sites)

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Interesting as I have not touched any of the specific code for that but should be an easy track down. I will look into it.

There is also a new release of this hack for the NEW TEMPLATED PHOTOPOST BETA 2

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Chuck I found what is wrong with my installation and why I cannot get into the admin area. The modification is identical to your files but I found out that in the pp.inc file you have a check to see the script name adm-index.php or adm-menu.php and if they are not the send_header of the .threads is sent. If they are then it goes on normally to the admin area with its own header. For some reason on my server the SCRIPT_NAME is blank hence it never validates on the if statement.

Is there another way to find out the script name? My register_globals are off. (Windows box)

Thanks


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Your the PHP Guru

Being a windows box can you change the register globals or I assume since you have not that your server people will not.

The script simply checks that those two scripts do not include the Threads send_header. If you know of another way than it is coded you got me on that one. Yeah you are right though the header can not be send that is why that arguement is there. A frame needs to be send before a header thus why your admin section does not work.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
I haven't played with it at all (and I am not a php guru - yet ). Also I don't want to set the globals on. I will have a look at it and possibly make a couple of changes so that it works similarly to the .threads admin area (with the frames)

Thanks Chuck.


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


Yeah the reason those are excluded from loading the threads header is the frame needs to load first before the body tag is loaded.

Joined: Apr 2001
Posts: 18
User
User
Offline
Joined: Apr 2001
Posts: 18
I use sidebars for my threads forum and they are always visible but I can't get them to show up with PhotoPost.
I have applied this hack and it works fine (exept the slideshow).
Can this be done or should I switch over to the "real" sidebar hack?

My mods...

ubbt.inc.php
include("$thispath/templates/$tempstyle/ubbt_registerednav.tmpl");
}
}

// Side Bar code modification
include("$thispath/templates/$tempstyle/sidebar_rightopen.tmpl");

// ------------------------------------------------------
// If the forum is closed then we only let admins proceed
// But they can try to login
if ($What != "login") {
if ($config['isclosed'] && $user['U_Status'] != "Administrator") {
.
.
.
// Sidebar mod code
include("$thispath/templates/$tempstyle/sidebar_rightclose.tmpl");

@include("$thispath/templates/$tempstyle/ubbt_footer.tmpl");
}


// #######################################################################
// Send the footer for admin section
// #######################################################################
Attachments
90535-Sidebar.zip (0 Bytes, 7 downloads)

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well 4.1 is almost out but anyway if the sidebar does not work withphotopost then you have it turned off in pp-inc.php?

Remember this part???

// 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;



Okay if you want to make slideshow's work then rehack your pp-inc.php file with the attached

Attachments
90539-photo.txt (0 Bytes, 40 downloads)

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
nevermind

Last edited by Mr_CSS; 08/13/2003 3:37 PM.

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

Grabbed the wrong version for your Photopost version JC

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
DOH! Well it seems to run okay.

One question, on the index page, the links :

My Gallery | My Favorites Admin | Home | Profile | Upload Photos | Logout

Should be in a menubar, but aren't. What did I miss? Any ideas?



- Custom Web Development
http://www.JCSWebDev.com
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Got it Lil sugegstion, there is an overuse of the tag menubar, I spent the evening removing it and replacing it with small. You might want to go thru your mod and do the same. Not your fault, photopost got a lil tag happy.



- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Your talking about the font tags Although my mod has nothing to do with font tags. The only ones I changed where the ones needed for the menubar. There is one thing I could change and that would be the menubar tags in pp-inc.php for the menu they can be small

In version 4 which is for the new 4.1 BETA3 you should try out the templated version.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Has a random mod been made to put thumbnails on a non pp page?

It's a client install, rather not play with betas. But thanks for the tip.



Last edited by Mr_CSS; 08/13/2003 8:41 PM.

- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
You can use this mod I made for IIP You should easily be able to adapt it to a NON PP or Threads page. If not let me know it is easy.

I have attached the custompalbox
Attachments
91881-custombox2pal.txt (0 Bytes, 36 downloads)

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Post deleted by Mr_CSS


- Custom Web Development
http://www.JCSWebDev.com
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Ok all set.. *phew*

Thankie Omegatron!


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
No Problem. I figured the MYSQL code and such in their would give ya the proper hints

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Yup, all fixed. Spent a long time with the layout cleaning it up etc.. One thing, I did have to alter some of the code added to showgallery.php. The last bit I left as it was, otherwise it caused the copyright area to show within a table...weird...

Otherwise it's fine

Live site


- Custom Web Development
http://www.JCSWebDev.com
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
well thats wrote for an IIP Pal. I am sure you had to alter it a bit

Page 2 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
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 20221218)