vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher (https://vborg.vbsupport.ru/showthread.php?t=73040)

The Geek 03-13-2005 11:01 AM

Quote:

Originally Posted by T3MEDIA
Picture is there.
But for argument sake....
Say it isnt, how do I turn off the error message?

Have you tried the new file I attached a couple of posts previously?

tormodg 03-13-2005 11:07 AM

Geek, I have noticed that sometimes the LAST image posted does not want to be inserted into a post with Firefox. It has happened a few times for me now. Any other picture will work just fine. Just FYI.

I have a question: The current method of insertion points to the file directly, right? So if a file is moved, the image breaks. Maybe it would be wise to think up some sort of solution to this - it can be a real hassle when for example a gallery is reorganized.

tormodg 03-13-2005 11:08 AM

Quote:

Originally Posted by T3MEDIA
Picture is there.
But for argument sake....
Say it isnt, how do I turn off the error message?

Again...my bad for not reading the post correctly. Apologies. Blame the nasty flu I'm struggling with. :(

The Geek 03-13-2005 11:16 AM

Quote:

Originally Posted by tormodg
Geek, I have noticed that sometimes the LAST image posted does not want to be inserted into a post with Firefox. It has happened a few times for me now. Any other picture will work just fine. Just FYI.

I have a question: The current method of insertion points to the file directly, right? So if a file is moved, the image breaks. Maybe it would be wise to think up some sort of solution to this - it can be a real hassle when for example a gallery is reorganized.

Huh - not sure why FF wouldnt display the last image. Thats all pretty much done behind the scenes. Ill look into it.

As for moving the pics - no matter which gallery you use, when you move or delete an image, it wil update their tables. That is where the info comes from so I dont think there should be a problem?!?

T3MEDIA 03-13-2005 11:25 AM

Quote:

Originally Posted by The Geek
Have you tried the new file I attached a couple of posts previously?

on it now!

tormodg 03-13-2005 11:48 AM

Quote:

Originally Posted by The Geek
Huh - not sure why FF wouldnt display the last image. Thats all pretty much done behind the scenes. Ill look into it.

As for moving the pics - no matter which gallery you use, when you move or delete an image, it wil update their tables. That is where the info comes from so I dont think there should be a problem?!?

But, Geek...the LINK to the full size image will work since it goes to showimage.php, but the thumbnail is inserted as a hardcoded path, ie:

http://www.hypography.com/gallery/fi.../M33_thumb.gif

If I move the image this path will change...I don't know how to solve this. I am just saying it might become a problem when reorganizing.

Or maybe I am wrong?

The Geek 03-13-2005 11:57 AM

Quote:

Originally Posted by tormodg
But, Geek...the LINK to the full size image will work since it goes to showimage.php, but the thumbnail is inserted as a hardcoded path, ie:

http://www.hypography.com/gallery/fi.../M33_thumb.gif

If I move the image this path will change...I don't know how to solve this. I am just saying it might become a problem when reorganizing.

Or maybe I am wrong?

If you use the front end program (either PP or vBadvanced) to move or reorganise the images, then it doesnt really matter as the images will always stay in the same physical location.
If you were to manually move them, you would break the front end programs depiction of the image as well as this popup.

HTH's :)

mindbuster 03-13-2005 03:41 PM

Thanks for a VERY nice modification, saves alot of copy/pasting links, and very n00b friendly.

*clicks install*

Installed with no errors on patched vB 3.0.5.

zooounds 03-13-2005 03:42 PM

Just installed the software and have some feedback:

The back and forward links will totaly destroy the size of the window if there is to few images on page.

When I have inserted the patches in the php-s cript to enable the strings all other strings on the page ++++s up. Had to remove the patches to make the other things work.

Why is mots of the functionality removed in Mozilla?

The Geek 03-13-2005 04:01 PM

Quote:

Originally Posted by zooounds
Just installed the software and have some feedback:

The back and forward links will totaly destroy the size of the window if there is to few images on page.

When I have inserted the patches in the php-s cript to enable the strings all other strings on the page ++++s up. Had to remove the patches to make the other things work.

Why is mots of the functionality removed in Mozilla?

Hey zooounds - Im not sure what you mean.

The functionality in Mozilla is reduced because the mozilla wysiwyg editor doesnt support pasting html. THe functionality is fine in standard editors.

T3MEDIA 03-13-2005 07:04 PM

Errors for days!

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT
images.imageid, filename, thumbname, extension, images.title, categories.title AS cattitle,images.width, images.height
FROM myvb3_adv_gallery_images AS images
INNER JOIN myvb3_adv_gallery_categories AS categories USING (catid)
WHERE images.userid=22610 and extension in ('jpg','gif','png') ORDER BY dateline DESC LIMIT 0 ,13
mysql error: Table mysite_com_-_sqlname.myvb3_adv_gallery_images' doesn't exist

mysql error number: 1146

Date: Sunday 13th of March 2005 03:54:56 PM
Script: http://www.mysite.com/forums/geek-gallery-popup.php?
Referer: http://www.mysite.com/forums/index.p...lery-popup.php
Username: MixedMam
IP Address: 24.229.168.188

tormodg 03-13-2005 07:07 PM

Quote:

Originally Posted by The Geek
If you use the front end program (either PP or vBadvanced) to move or reorganise the images, then it doesnt really matter as the images will always stay in the same physical location.
If you were to manually move them, you would break the front end programs depiction of the image as well as this popup.

HTH's :)

Ah, Geek...a warm, beardy, virtual kiss from me.

The Geek 03-13-2005 07:10 PM

Does this table exists?

myvb3_adv_gallery_images

T3MEDIA 03-13-2005 08:30 PM

Quote:

Originally Posted by The Geek
Does this table exists?

myvb3_adv_gallery_images

your updated php file isnt any good for me.
reverting back to the other one. oh well.

The Geek 03-13-2005 08:34 PM

Quote:

Originally Posted by T3MEDIA
your updated php file isnt any good for me.
reverting back to the other one. oh well.

The only difference is that it does a check for the thumbnail before displaying it. Nothing else should have changed. My guess is that you missed a setting in the new file - hence the reason I asked you if the table exists.

T3MEDIA 03-13-2005 08:56 PM

Quote:

Originally Posted by The Geek
The only difference is that it does a check for the thumbnail before displaying it. Nothing else should have changed. My guess is that you missed a setting in the new file - hence the reason I asked you if the table exists.

new setting? I reverted to the old file she works fine.

didnt realize I had to do mods inside the php file.

T3MEDIA 03-13-2005 09:02 PM

welp realized there was some code in the top that needed to be added. I totally forgot. now the window opens really small and all this text is in the box. dubble checked.
did it again. the same.

reverted back. all is well. Well the users that have that issue still are there but it still works.

I'll wait for a final update I guess. Thanks.

T3MEDIA 03-15-2005 05:21 PM

I found what the issue is. in the PHP you uploaded it asks this.

Quote:

//$gallery_server_path is the server path to the gallery
//something like:
//$gallery_server_path="/var/www/gallery";
photopost does not have such a directory. So I dont know what to put here and should I have a trailing slash or not.

GamerzWorld 03-15-2005 07:44 PM

Same error here

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 .photos AS images
INNER JOIN .categories AS c on images.cat=c.id
WHERE images.userid=171 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13
mysql error: Table 'merlin_unity.photos' doesn't exist

All my file is correct yet its directing at unity.photos. The table is infact pp_photos

The Geek 03-16-2005 08:04 AM

Thanks for the rating.

Try this. I reposistioned the settings as it seems that some people are having difficulty setting them all (yes - even pp has a server path). Let me know if this works for you. If so Ill update the package.

nJoy

GamerzWorld 03-16-2005 08:49 AM

Now im getting

Database error in vBulletin 3.0.7:

Invalid SQL:
mysql error: Query was empty

mysql error number: 1065

Date: Wednesday 16th of March 2005 05:48:57 AM
Script: http://www.mirzone.net/forum/geek-gallery-popup.php
Referer: http://www.mirzone.net/forum/newrepl...uote=1&p=53445
Username: Merlin

The Geek 03-16-2005 11:27 AM

Quote:

Originally Posted by GamerzWorld
Now im getting

Database error in vBulletin 3.0.7:

Invalid SQL:
mysql error: Query was empty

mysql error number: 1065

Date: Wednesday 16th of March 2005 05:48:57 AM
Script: http://www.mirzone.net/forum/geek-gallery-popup.php
Referer: http://www.mirzone.net/forum/newrepl...uote=1&p=53445
Username: Merlin

Thanks - I just recieved your file. It looks like the problem is that all of the settings are commented out.

Uncomment the settings that are applicible to you (in this case the photopost settings) and let me know if that sorts it.

Thanks

GamerzWorld 03-16-2005 11:43 AM

Quote:

Originally Posted by The Geek
Thanks - I just recieved your file. It looks like the problem is that all of the settings are commented out.

Uncomment the settings that are applicible to you (in this case the photopost settings) and let me know if that sorts it.

Thanks

Database error in vBulletin 3.0.7:

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 photo.pp_photos AS images
INNER JOIN photo.pp_categories AS c on images.cat=c.id
WHERE images.userid=171 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13
mysql error: select command denied to user: 'merlin@localhost' for table 'pp_photos'

mysql error number: 1142

The Geek 03-16-2005 11:52 AM

Quote:

Originally Posted by GamerzWorld
Database error in vBulletin 3.0.7:

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 photo.pp_photos AS images
INNER JOIN photo.pp_categories AS c on images.cat=c.id
WHERE images.userid=171 and images.approved=1 ORDER BY images.date DESC LIMIT 0 ,13
mysql error: select command denied to user: 'merlin@localhost' for table 'pp_photos'

mysql error number: 1142

Huh. That error is saying that you do not have select permissions on that table? This hack uses the vB DB permissions. It may be that you installed the PP DB under a different user.

Can you check your permissions?

GamerzWorld 03-16-2005 12:07 PM

Quote:

Originally Posted by The Geek
Huh. That error is saying that you do not have select permissions on that table? This hack uses the vB DB permissions. It may be that you installed the PP DB under a different user.

Can you check your permissions?

How?

The Geek 03-16-2005 12:26 PM

Quote:

Originally Posted by GamerzWorld
How?

Do you have phpMyAdmin? There you can click on the Privlidges link on the home page.

msimplay 03-16-2005 02:35 PM

Quote:

Originally Posted by msimplay
hmm mozilla doesn't allow for html insert but why notjust make it insert the bbcode the same way the standard editor does?

any news on this ?

The Geek 03-16-2005 02:40 PM

So far - none. In all fairness I havent been able to spend too much time on it - but my initial investigation (when you brought it up) didnt pan out.

Im just polishing off a new version of GAS and will look into it then.

GamerzWorld 03-20-2005 09:30 PM

Im having a problem with the button on new thread. When making a new thread i get no text and link only

[]

I have done the phrase thing you mentioned (finding and saving) so im thinking its a file/template error on my part. To narrow it down can you tell me which step its likly to be?

The Geek 03-21-2005 10:19 PM

Quote:

Originally Posted by GamerzWorld
Im having a problem with the button on new thread. When making a new thread i get no text and link only

[]

I have done the phrase thing you mentioned (finding and saving) so im thinking its a file/template error on my part. To narrow it down can you tell me which step its likly to be?

Hey there - sorry I missed you (went off on business). Are you sure you added to the phrasegroups correctly? If not - you can always just edit the smilie template in the instructions and switch to a hard coded phrase.

trulylowcarb 03-22-2005 12:22 AM

Geek, my popup window shows the thumbnails with a border but then inserts them without a border, making it tough for my users to figure out on their own that they are clickable images. Can you guide me toward the part of the code that is responsible? The only instance of border I found in my (modified) geek-gallery_popup is this:
Quote:

if (images[i].getAttribute("imageid") < 1)
{
images[i].setAttribute("imageid", i);
images[i].setAttribute("border", "0");
Changing that to 0 to 2 didn't appear to change anything for me.... your input appreciated.

The Geek 03-22-2005 07:44 AM

Ill look into this today and get an answer for you (I need to look at the code to refresh my memory ;) )

Jason McConnell 03-22-2005 07:49 AM

1337h4x!!! Thanks :D

GamerzWorld 03-22-2005 09:32 AM

Quickly to point out i dont know if this is a type but

* Upload admincp/geekgallerypopup__install.php to your admin folder (i.e. http://www.bobsfluffyfriends.com/forum/admincp/)
* Done that? Good. Now run it (ie point your browser to http://www.franksfunkygyros.com/foru...es_install.php)
* Follow the elaborate installation proceedure (I think there are a whopping 2 links to actually click and sorry... no 'configuration settings' are required!)
* That script will install the 2 templates, and the 'Geek Gallery' phrases.
* Make sure you remove the install script from your folder. It appears to be the way these things should be done around here and I for one do not like a rocking boat!
* Now you are ready to move onward! Well done lil Jimmy!

One points to articles when this isnt article hack (durrr :P)

GamerzWorld 03-22-2005 09:37 AM

Quote:

Originally Posted by The Geek
Hey there - sorry I missed you (went off on business). Are you sure you added to the phrasegroups correctly? If not - you can always just edit the smilie template in the instructions and switch to a hard coded phrase.

Ive reinstalled it again (the phrases) and edited one and saved it but still get the error. Dont get really what you mean by the above

p.s. this is just on new threads..not new replies

The Geek 03-22-2005 11:08 AM

If its only on newthreads then double check that you correctly added the phrasegroup to newthread.php
HTH's

trulylowcarb 03-22-2005 01:36 PM

All of a sudden, some of my users who had no problem with this feature are having trouble using it. I don't *think* I changed anything to cause it? I did change the option array so that the only available action is to insert a clickable thumbnail. What happening is that it still works perfectly for some, but others are displaying a link that shows the closing img] tag, but is missing the opening one. Editing the post to add the opening tag shows the tag, but changes nothing. The link to the thumbnail that is displayed, does work.....
I know I changed things up, sorry, but this method is the perfect one for my forum, if you could help me try to diagnose without having to revert to all the options, it wouldbe truly appreciated.
BTW Geek, I was going to donate to you last week due to my gratitutde to you for providing this great hack, (same as I did for Cinq) but unlike most of the other hackers posting here, I found no easy 'appreciate this hack? donate here' link anywhere in the hacks or on your home page. If you're independently wealthy, I'll forget all about it, of course, but if not, may I respectfully suggest that you follow the lead of others and add that kind of link so you may reap some benefit from the help you are providing to others here .... I truly feel you are deserving.

The Geek 03-22-2005 02:00 PM

Thats kind of you carb - Ill put up a dontate link to my hacks when I get a minute. If you PM me ftp/admincp details ill go in and see if I can sort it out for you.

trulylowcarb 03-23-2005 05:14 PM

Quote:

Originally Posted by The Geek
Thats kind of you carb - Ill put up a dontate link to my hacks when I get a minute. If you PM me ftp/admincp details ill go in and see if I can sort it out for you.

Thanks, Geek!! I installed your soon-to-be HACK O THE MONTH articles system last night, and I wanted to wait until after that, just in case I needed your help there too. I did want to say that none of the thumbnails on my forum show with a border, so maybe that's just something I did in the css?

I will get you set up with admin permissions and so on and PM you later or tomorrow with them as I would really like to sort out the missing front img tag thing, but my "real" job is calling (screaming) my name right now.. thanks again, SO MUCH.

I would say 'You da Man' now, but I read the thread about HOTM and now know better. LOL! No wonder you give such great support. ;)

vcross 03-25-2005 01:20 PM

I am having the same problem as lowcarb... I've narrowed it down:

If you have your editor set where the "Guided Mode" and "Enhanced Mode" radio buttons are visible, insert from the gallery leaves the hanging img] tag.

If you go into your UserCP options and change to the WYSIWYG (radio buttons don't appear anymore, but you still get rich text) you can insert images just fine.

I love the mod! I hope the prob can be fixed. I will look at the code and see if I inadvertantly changed anything.


All times are GMT. The time now is 12:40 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
  • Page Generation 0.01559 seconds
  • Memory Usage 1,856KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete