Hi Andy!
I guess it could be because of the "//plugins/" URL in your output. Please check the lightbox plugin and enter the path without the double "//" and see if that helps maybe?
Best regards,
Garvin
new Plugin, Thickbox
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
oops you saw the wrong script in action there. I have made the correction to on this line:
$pluginDir = preg_replace('@^.*(/plugins.*)@', '$1', dirname(__FILE__));
and removed the highlighted / but still it doesn't appear to work.
I have made this change on my version of thick box.
I have yet to test the script you have done
TIA
andy
$pluginDir = preg_replace('@^.*(/plugins.*)@', '$1', dirname(__FILE__));
and removed the highlighted / but still it doesn't appear to work.
I have made this change on my version of thick box.
I have yet to test the script you have done
TIA
andy
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Okay, could you tell me once you installed my updated version of the script?
Best regards,
Garvin
Okay, could you tell me once you installed my updated version of the script?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Good Evening Garvin,
Ok been busy with the thinkbox script.
The plugin works on both my test sites works as it should, but! not on my live site?!
Now that that is the situation It's going to be hard to workout why it's not working on my site, which have have to say is most likely a bit messy on the database side, and may have old plugin data... would this be a problem ?
What happens on my live site, the script starts, but doesn't appear to load the picture as it does on my test site.. It may be a simple problem to fix.
The code can be found here
Hopefully you will be able to see something that I missed ?
Kindest regards,
Andy
Ok been busy with the thinkbox script.
The plugin works on both my test sites works as it should, but! not on my live site?!
Now that that is the situation It's going to be hard to workout why it's not working on my site, which have have to say is most likely a bit messy on the database side, and may have old plugin data... would this be a problem ?
What happens on my live site, the script starts, but doesn't appear to load the picture as it does on my test site.. It may be a simple problem to fix.
The code can be found here
Hopefully you will be able to see something that I missed ?
Kindest regards,
Andy
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, I get the "Loading..." image but nothing more happens. Strange.
In which regard does your plugin differ to the current plugin in CVS? Maybe you could ask the thickbox author, it might be related to his script?
Best regards,
Garvin
Yes, I get the "Loading..." image but nothing more happens. Strange.
In which regard does your plugin differ to the current plugin in CVS? Maybe you could ask the thickbox author, it might be related to his script?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hiya Garvin,
I don't think it's a script problem as it does work correctly if you look at this site:
http://blog.andyramblings.co.uk (clean s9y 1.0 build)
or
http://blog.andyhopkins.com (sort of clean build of s9y 1.1 alpha 7
Hence why I mention that it may be a problem on my live site, with bits of code here there and everywhere, I think I use a bit too many..
I don't think it's a script problem as it does work correctly if you look at this site:
http://blog.andyramblings.co.uk (clean s9y 1.0 build)
or
http://blog.andyhopkins.com (sort of clean build of s9y 1.1 alpha 7
Hence why I mention that it may be a problem on my live site, with bits of code here there and everywhere, I think I use a bit too many..
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, that might be a problem. Maybe you can narrow it down somehow? Clone that installation and check what happens if you remove some scripts?
Best regards,
Garvin
Hm, that might be a problem. Maybe you can narrow it down somehow? Clone that installation and check what happens if you remove some scripts?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Just a quick question,
What's the easiest way to 'clone' and installation ?
I have fully access to create new mysql databases etc via myphpadmin.
what tables would I remove or change before doing a clone. I'm getting to the point where I might strip down the site, remove stuff and build it up again.
Again, Thanks for all your help
What's the easiest way to 'clone' and installation ?
I have fully access to create new mysql databases etc via myphpadmin.
what tables would I remove or change before doing a clone. I'm getting to the point where I might strip down the site, remove stuff and build it up again.
Again, Thanks for all your help
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Quite simple:
1. Copy all the files you have to a different directory (if possible copy it to another subdomain, because this way the relative HTTP paths will stay the same).
2. Clone the database (by creating a serendipity_clone database, and then copying all tables frmo your old database to the new one; or importing the SQL dump)
3. Edit your cloned serendipity_config_local.inc.php to point to the new database
4. Log into to your s9y backend and change the domain / paths.
Then you can start removing plugins etc.
Best regards,
Garvin
Quite simple:
1. Copy all the files you have to a different directory (if possible copy it to another subdomain, because this way the relative HTTP paths will stay the same).
2. Clone the database (by creating a serendipity_clone database, and then copying all tables frmo your old database to the new one; or importing the SQL dump)
3. Edit your cloned serendipity_config_local.inc.php to point to the new database
4. Log into to your s9y backend and change the domain / paths.
Then you can start removing plugins etc.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
I might be confused but I read in the first thread that thickbox also handles html pages and looking at the author's demo site it does. Could we look at using something like this for the preview mode in the admin suite, anything we can do to get rid of the existing preview would be awesome in my opinion, the need to include a mainpane id or change the preview tpl file is a hassle, and often it still doesn't work perfectly, thickbox might be a better solution, or maybe even kludge the way WP does it.
Hi Carl,
You read right. Thick box can pop up html pages in the same way as images.
You may also have noted that there appears to be a problem with it working in s9y .. I have it on my site, but cannot get it to work on my present live sitte. But it works fine on my test sites.
I'm not really a coder so, I'm keep hitting a brick wall.
Any help would be most welcome.
Andy
PS: Here's the link to the upgrade version of thickbox,
http://codylindley.com/Webdev/274/thickbox-12
You read right. Thick box can pop up html pages in the same way as images.
You may also have noted that there appears to be a problem with it working in s9y .. I have it on my site, but cannot get it to work on my present live sitte. But it works fine on my test sites.
I'm not really a coder so, I'm keep hitting a brick wall.
Any help would be most welcome.
Andy
PS: Here's the link to the upgrade version of thickbox,
http://codylindley.com/Webdev/274/thickbox-12
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff