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)

agiacosa 01-29-2005 10:54 AM

I'm getting a 404 error on the popup.

My gallery is broken up into categories and subcategories: /www/aquaticp/gallery/files/1/0/0/0 will reach the ultimate files.

Anyway to get this to work with your mod?

oz_moses 01-31-2005 02:54 PM

Awesome hack, I really like it.

A few of the issues I had installing are:

1. Originally I had "[]" below my smilies, rather than the [Open] link. Clicking Edit on one of the phrases then saving saving without making any changes fixed it for the Newthread but not for the Edit. I'm still looking into this one.

2. I am using /forum as opposed to /forums so I needed to change the vbulletin_editor.js edit from

Code:

function open_geek_gallery_window(is_wysiwyg) {
        photoWindow=window.open('../forums/geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500');
}

to

Code:

function open_geek_gallery_window(is_wysiwyg) {
        photoWindow=window.open('../forum/geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500');
}


Ghostsuit 02-11-2005 04:05 AM

Did you manage to get the WYSIWYG location sorted yet?

The Geek 02-11-2005 06:32 AM

Quote:

Originally Posted by Ghostsuit
Did you manage to get the WYSIWYG location sorted yet?

uh. oops. looks like I forgot to come back to this one.

No I cant seem to get the code together for mozilla wysiwyg linked thumbnails so I was putting it together to at least allow users to insert thumbs or full sized images. Ill do this today (scouts honor ;) )

The Geek 02-11-2005 10:15 AM

As promised - Mozilla support ;)

nJoy the new package (see readme for upgrade instructions)

trulylowcarb 02-11-2005 07:28 PM

Can't get the install script to start? Verified its presence in the folder ... Do I need to change the permissions or something? I am calling on the right file name -
Noted in the instructions you're still referencing
Quote:

Done that? Good. Now run it (ie point your browser to http://www.franksfunkygyros.com/forum/admincp/geekarticles_install.php
(I caught it, obviously, am NOT nit-picking, am only pointing it out to possibly save you some questions from others, related to that...)

By the way ... you, sir, CRACK ME UP. Thank you.

The Geek 02-11-2005 07:46 PM

Quote:

Originally Posted by trulylowcarb
Can't get the install script to start? Verified its presence in the folder ... Do I need to change the permissions or something? I am calling on the right file name -
Noted in the instructions you're still referencing
(I caught it, obviously, am NOT nit-picking, am only pointing it out to possibly save you some questions from others, related to that...)

By the way ... you, sir, CRACK ME UP. Thank you.

:)

Thanks for pointing it out (so you did get it installed...right?!?) ;)

trulylowcarb 02-11-2005 07:51 PM

No, I cannot get the script to start for me at all, I just get a 404 error...

I was using:
http://mysiteurl.net/forums/admincp/...up_install.php

...same as the actual file name...

trulylowcarb 02-11-2005 08:01 PM

Eeeek! I should have thought/mentioned that this could very well be due to one mod that is only halfway installed and which I am now painstakingly removing, because it doesn't work for me... it was the "allow users to view titles not content (window shopping"), and it caused a repeated error in the admin resources file, so I reverted that one and now have to manually remove the other phrases and file mods.

Perhaps it was affecting this install? although the forum is working fine in every other regard I can see ....

anyway - in case you care, the error was:
Parse error: parse error, unexpected T_FOREACH, expecting ')' in /home/mysite/public_html/forums/admincp/resources.php on line 70

I feel bad for telling you your mod doesn't work for me prior to removing the other failed mod, as I do know enough to realize that this whole mod thing is like a jenga game and one thing affects everything else ... [where's the blush emoticon?]

I will finish uninstalling the other mod now and then try this one again. I wouldn't have ever done this in this FUBAR order except that the error only came up when selecting 'view permissions' in the admin cp, and I wasn't aware I that I even had the aforementioned problem for a while.

The Geek 02-11-2005 09:13 PM

no problem. I know what its like. Good luck with it :)

trulylowcarb 02-11-2005 10:15 PM

Thanks. But, I am back to report (with a clear conscience) that the other mod does not appear to have been involved, and I still get nothing but a 404 error when I try to run the script... has anyone had success with this, or is it just me? Is paid installation available? This looks like a great mod and would be a great addition to my new gallery ....

The Geek 02-11-2005 10:46 PM

Quote:

Originally Posted by trulylowcarb
Thanks. But, I am back to report (with a clear conscience) that the other mod does not appear to have been involved, and I still get nothing but a 404 error when I try to run the script... has anyone had success with this, or is it just me? Is paid installation available? This looks like a great mod and would be a great addition to my new gallery ....

SO let me get this right.

You have uploaded all files to their correct locations.
You got to forum/admincp/geekgallerypopup_install.php and then you get a 404 error?

vcross 02-11-2005 10:46 PM

Is there a version of this that works with vB 3.0.6? I've installed and I don't see the pick from gallery option. (I noticed that the smilies are in a drop down instead of in a separate panel...??) Do you have instructions on how to mod the files by hand?

Thanks in advance -
V

The Geek 02-11-2005 10:50 PM

Quote:

Originally Posted by vcross
Is there a version of this that works with vB 3.0.6? I've installed and I don't see the pick from gallery option. (I noticed that the smilies are in a drop down instead of in a separate panel...??) Do you have instructions on how to mod the files by hand?

Thanks in advance -
V

it works on 3.06.

Did you do the file changes in the readme?

Ghostsuit 02-12-2005 07:12 AM

Ok just installed this on 3.0.6 and got it working.

There was one error

In geek-gallery-popup.php Line 157
Code:

  if (!
Needs to be removed. Not sure how it got there because it wasn't in v2.

Also need to
* forum/editpost.php
* Open up your forum/editpost.php

find:

Code:

$phrasegroups = array('threadmanage', 'posting');
Change to:

Code:

$phrasegroups = array('threadmanage', 'posting','Geek_Gallery_Popup');
This adds the phrases to the edit post section.

Otherwise works perfectly. :D


vcross sounds like you havn't done the editor smilies part of the hack. You might also need to do this

Languages & Phrases > Phrase Manager > select Phrase Type: Geek Gallery Popup > edit a phrase then save it with out a change

This usually activates the installed phrases if they arn't appearing.

KTBleeding 02-12-2005 03:40 PM

Quote:

Originally Posted by Ghostsuit
Ok just installed this on 3.0.6 and got it working.

There was one error

In geek-gallery-popup.php Line 157
Code:

  if (!
Needs to be removed. Not sure how it got there because it wasn't in v2.

Also need to
* forum/editpost.php
* Open up your forum/editpost.php

find:

Code:

$phrasegroups = array('threadmanage', 'posting');
Change to:

Code:

$phrasegroups = array('threadmanage', 'posting','Geek_Gallery_Popup');
This adds the phrases to the edit post section.

Otherwise works perfectly. :D


vcross sounds like you havn't done the editor smilies part of the hack. You might also need to do this

Languages & Phrases > Phrase Manager > select Phrase Type: Geek Gallery Popup > edit a phrase then save it with out a change

This usually activates the installed phrases if they arn't appearing.

Yeah, I got it working after removing that too.. I didn't notice the editpost.php thing, so thanks for that. :)

Does anyone else experience a lot of lag with this though? I have about.. 30 images (but they are large files) and it takes about 30 seconds to load the popup and pages..

Ghostsuit 02-12-2005 04:14 PM

havn't got it on the live site yet so that will be the tester really. Won't happen till next week though.

The Geek 02-12-2005 04:27 PM

Quote:

Originally Posted by KTBleeding
Yeah, I got it working after removing that too.. I didn't notice the editpost.php thing, so thanks for that. :)

Does anyone else experience a lot of lag with this though? I have about.. 30 images (but they are large files) and it takes about 30 seconds to load the popup and pages..

Ill look into updating the package to fix that. In the meantime - everyone just use the fix mentioned above.

As far as the speed, I havent really noticed anything significant. When I update the package ill look back at the code and see if there is something laggy (shouldnt be though as the select would be the only thing that slows it down and that is limited to 12 rows per page.

trulylowcarb 02-12-2005 06:24 PM

Quote:

Originally Posted by the nail geek
You have uploaded all files to their correct locations. You got to forum/admincp/geekgallerypopup_install.php and then you get a 404 error?

There is just the one file, the install file, listed in step 1, yes? Says upload the one file and then run it, then go to the file mods.... ?
I never made it past running the install file... maybe I am missing something really obvious?

The Geek 02-12-2005 06:27 PM

Quote:

Originally Posted by trulylowcarb
There is just the one file, the install file, listed in step 1, yes? Says upload the one file and then run it, then go to the file mods.... ?
I never made it past running the install file... maybe I am missing something really obvious?

There is the install and the geek-gallery-popup.php file that goes in your forum directory

trulylowcarb 02-12-2005 06:32 PM

Am I being too literal? The way I read it, the geek-gallery-popup.php file that goes in your forum directory is step 2... do I maybe need to make the changes in that file and upload it before the install script will run?

trulylowcarb 02-12-2005 06:34 PM

OK, I just deleted the other download and started over, just for grins and giggles, and now I am getting the install screen.... maybe it was gremlins. Too weird, as I made no changes in the file prior to uploading the first time!!

trulylowcarb 02-12-2005 06:56 PM

okay dokey, I have completed the install, including the fixes mentioned above. What am I supposed to see now? I have a new thread window open and everything looks just the same to me ...

The Geek 02-12-2005 07:21 PM

Quote:

Originally Posted by trulylowcarb
okay dokey, I have completed the install, including the fixes mentioned above. What am I supposed to see now? I have a new thread window open and everything looks just the same to me ...

Sounds like a bad upload. Its happened to me before.

you should see a my photos/select option with the editor. If not... your phrases may not have been built after installation.
Search for one of the phrases (like my photos) then edit it and click save. that usually fixes the phrase prblem.

trulylowcarb 02-12-2005 07:53 PM

Thanks again for your input. The problem is definitely in the phrases - as in, I don't seem to have any new ones. I ran the install again (twice), then seached again.... no go.
The second time I installed, I copied the list of phrases it said it was inserting to my clipboard, maybe I could add them manually.. ? not sure about the typeid thing though. Any ideas or tips as to trying to add them manually?

The Geek 02-12-2005 10:00 PM

Quote:

Originally Posted by trulylowcarb
Thanks again for your input. The problem is definitely in the phrases - as in, I don't seem to have any new ones. I ran the install again (twice), then seached again.... no go.
The second time I installed, I copied the list of phrases it said it was inserting to my clipboard, maybe I could add them manually.. ? not sure about the typeid thing though. Any ideas or tips as to trying to add them manually?

The phrases will be installed, its a semi common problem with installing phrases.
You need to find one of the phrases, edit it and then save it again (without changing it).

Try searching for the following phrase:
Insert thumbnail that opens the original picture in a seperate window

then edit it and save . That will rebuild all of your phrases and sort you out.

HTH's

trulylowcarb 02-12-2005 10:49 PM

Well there ya go, that one came up, (nothing did earlier for my photos) and I did the edit-save thing on one ... still nothing changed ...Will go back and double-check my insertions and changes now, I guess .... well maybe not right NOW.... It's Saturday after all, and I have plans that involve King Crab legs with drawn butter and a big sirloin and some Miller Lites with my Valentine. ;)

Will surely be back by-and-by to let you know if I ever got it working though, or to whine some more and then try to pick your brain again, if not. I appreciate the hand-holding.

....Taking Phraser off of stun for the weekend.... ;)

MPDev 02-13-2005 02:39 AM

[.......Issue taken to PM......]

The Geek 02-13-2005 07:18 AM

Get out man. If you remember I helped fix your freaking hack.

Admitedly this was inspired by your hack as I was using it when I used photopost. When I switched to another product, my users still wanted the popup feature so I made a new popup box that (IMO is far better than the photopost one).

Its ironic you used my code to make your hack work, promised to give me credit, didnt, then come on here pissed that I stole bog standard javascript and an html link.

[edit]Took a deep breath and re-wrote ;)
I also added the reference to your hack in the first post.
[/eidt]

MPDev 02-13-2005 10:47 AM

[..........Issue taken to PM............]

The Geek 02-13-2005 12:10 PM

Quote:

Originally Posted by MPDev
What I do remember is you sending me this polite PM:



Which makes your reply even more confusing.

Looks like you did a great job on your mod, some great ideas in there. I wasn't trying to be rude, just wondering why the lack of respect for someone elses prior work.

Sorry I got so tiffy. I did spend a lot of time working on this hack (and the changes to yours) and I guess I got my back hair up about being accused of simply copying someone elses work.
I have now waxed my back and taken a step back to look at the situation. Yes, your photopost mod was the basis for inspiration for this hack and yes I should have made mention to that fact (I have sinced edited the original post to make that clear).

However, remember that I did work long and hard on this and made massive improvements on the concept behind your popup. There is little similarity between the two hacks aside from the overall concept.

MPDev 02-13-2005 03:28 PM

No doobt aboot it (I'm not Canadian, so might have misspelled it.), looks great! I wasn't suggesting that the mod was a simple copy, I just felt defensive having developed the original mod and felt that credit should be given where credit is due. While much of the code is new by you, some of mine is still there and it's simply courtesy to acknowledge the effort of those before you.

trackpads 02-13-2005 03:48 PM

This is a GREAT hack! Thanks for all the work!!

-Jason

trulylowcarb 02-14-2005 12:45 AM

I am back to say thank you, too, to all and sundry involved in any way with this fabulous and most impressive hack.
I managed to find my prior error in the file mods, and all is now well. Better than well - I am tickled to have this working, and in conjunction with your articles lite mod, Nail Guy, (modified a bit for my own needs), I finally have the forum I always wanted. My users and I salute you!

vcross 02-14-2005 01:10 AM

I got it working now. I did have to remove the
Code:

if(!
line to get it working though. I am a newbie to php, so a I am learning the ins and outs.

I've installed Eclipse (Eclipse.org with a php plugin from SourceForge and it's helped a lot. Wow... I am blown away with all the open source tools out there to help you!

schford 02-15-2005 03:30 PM

Hi - I have installed this but when doing a new post and clicking the my photos text a ne wpopup opens and it has this in

"Parse error: parse error, unexpected ';' in /home/rbw/public_html/geek-gallery-popup.php on line 158"

Any ideas?

cheers

stuart

The Geek 02-15-2005 03:47 PM

Hey Stuart, there is a freaky if(; statement on line 158 of geek-gallery-popup.php that needs removing. Just edit the file, scroll down to the bottom and you will see it.

I have fixed this, but havent been able to release the update as there are some other whistles and bells coming with it that are not quite finished (maybe tomorrow)

schford 02-15-2005 03:48 PM

thats sorted it :-) thanks - all working at www.rebretherworld.com now :-)

cheers

Stuart

tormodg 02-20-2005 12:43 PM

Well, this installation thing really is BUGGY, geek. The readme suggests to run the wrong file, there is an underscore too many in the correct name listed just before that.

And all the bugs mentioned by everyone...man, what are you, a GEEK? :)

Awesome hack, pal.

But the Mozilla thing...I still don't get the "add link" options in Firefox, only in IE. Is this correct? Apart from this I do find that the images insert correctly, except that it doesn't differentiate between thumbnail and full size (ie, if I choose to insert the full size image it still just picks the thumbnail).

I have vB 3.0.7 and vBadvanced Gallery RC3, just for the record.

Can you do my nails, too? Why are you no longer the nail geek but just a geek?

And I have a million other questions as well, like why is beer so expensive, but we can discuss that some other time.

tormodg 02-20-2005 12:49 PM

Just ONE more question before I leave...the images shown to the users. It means that members must have uploaded images under their own name, right?

Okay, wish list item: A "common" category for images which everyone can use in their posts. Or something.


All times are GMT. The time now is 12:51 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.02654 seconds
  • Memory Usage 1,848KB
  • 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
  • (9)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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