![]() |
Oh, yes. I found out about the paste thing when working on a CMS. How are you able to insert the image, then?
|
Quote:
|
Quote:
Photopost:bouv_nl_-_fotopost prefix: pp_ |
Quote:
you could always remove the prefix, then before the query do something like: $DB_site->select_db('bouv_nl_-_fotopost'); Then after the query, change it back: $DB_site->select_db('bouv_nl_-_vbull'); |
Quote:
|
Quote:
|
I get the exact same problems as LarryD
Any ideas as to how to get around this? Error message as below when clicking on [Open] in a new thread Warning: getimagesize(http://www.battlefield40k.com/photo/..._9_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...ne_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...ck_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...14_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...22_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...or_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...no_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 Warning: getimagesize(http://www.battlefield40k.com/photo/...48_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198 My Pictures |
Thanks Geek, very good Hack ;)
~~~~~~~~~~~~~~~~~~~~~~~~ Click install ~~~~~~~~~~~~~~~~~~~~~~~~ |
Hey Geek :)
It would be possible to add the button in them "Quick reply" ? |
To keep the popup from showing up under Who's Online, add this under DEFINE IMPORTANT CONSTANTS in geek-gallery-popup.php:
PHP Code:
|
Quote:
|
Quote:
|
No problem. I provided that code for another hack, too. I wonder why no one uses it.
|
I also will like to see geek gallery pop up i quick reply :) like Allan
|
Quote:
HTML Code:
<fieldset id="photobox" title="My Photos"> |
Quote:
edit: For me, it's "showthread_quickreply" template Thanks BrentWilson, works on 3.0.7 :) |
I was wondering is it possible to do in the next version the option to show images by a category that they are in and to chose to show all image or just my images so i can pick an image and post it in the forum from sombody else and if this could be a usergroup option.
|
Those would be great ideas. Not two minutes ago I had to upload an image for someone (as the admin) and then was unable to use the popup to stick the thumbnail in a post.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
You have my support this could be a very big feature to the Popup Hack :) |
Hey Geek can you do a estimate time when will new pop up version be with categories and all...
|
Quote:
|
I would REALLY like to get this hack working since our gallery is a very important part of the site. I have followe all directions to the T. This is what I see when I click the "Open" link under "My Pictures". What is realyl strange is that if you look at the file it is trying to open "sparkswillfly.jpg" the file is actually there under the thumbs folder BUT there is a number one in front of teh real file ("1sparkswillfly.jpg"). Why is it looking for the wrong file?
EDIT// I just realized it was pullign info from the forums db (old tables not yet deleted) before i split the gallery db off into it's own db. HOWEVER, my gallery db is named "pimprig_com_-_gallery". How can I get this gallery db name to work right? What code needs to go where? :) |
Quote:
|
hmmm.... had another user who had the same problem and I am trying to remember what the solution was.
If I remember right - mysql hated calling that DB by the fully qualified name as it thought you were trying to use the - operator (it too had _-_ in it). Seems like the solution was to take the db prefix out, then set the DB before the query and return it back after the query. I would personally avoid using hyphens as object names for this reason (though I know that doesnt help ;) ) |
Quote:
|
Just out of curiosity - can you see what happens if you put ` around the name ie `pimprig_com_-_gallery`
|
This is what I got when I added those around the field for database name (Ex: "'pimprig_com_-_gallery'"):
Database error in vBulletin 3.0.6: Invalid SQL: SELECT images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title, images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height FROM 'pimprig_com_-_gallery'.photos AS images INNER JOIN 'pimprig_com_-_gallery'.categories AS c on images.cat=c.id WHERE images.userid=1 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''pimprig_com_-_gallery'.photos AS images INNER JOIN 'p mysql error number: 1064 Date: Wednesday 25th of May 2005 05:40:38 PM Script: http://forums.pimprig.com/geek-gallery-popup.php Referer: Username: GlitterKill IP Address: 68.53.59.67 |
not ' but `
|
It works now! Thanks alot The Geek! WOOHOO! :)
|
wicked.
|
Hi The Geek
great work you are doing ... with this hack, is one able to set group permissions, please? Cheers G |
Geek when will the new version be and will it have categories
|
Quote:
|
How about some help with BBCode vs HTML?
Is it written to know which you are using? Mine inserts BBCode no matter which is selected. |
Quote:
|
Right, but in the webpage editor you have the option of using html or bbcode.
This always inserts bbcode. I wanted to get it to know the difference and act accordingly. |
ah - I got you (I think). You are using a standard editor and you want it to insert the pic as html, not bbcode?
|
All times are GMT. The time now is 05:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|