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)

dsboyce8624 06-29-2005 06:53 PM

Yes, I have the WebPage/GuestBook hack installed. This is a great way to let them include images.

Thing is it offers you two options, to edit in HTML, or to edit in BBCode.

The Popup doesn't know the difference. I told the users how to get the links from the Gallery for HTML, but it's just too cool to get the Popup to know the difference and insert the right kind of code.

The Geek 06-29-2005 07:16 PM

hmmm - I dont know what to say without giving you a way that would break it for other its designed purpose. You can basically change the pasted code in the template to be HTML instead of BB code, however if its used in a normal forum setting, it will still post HTML which will get converted to plain text.

dsboyce8624 06-29-2005 07:18 PM

Quote:

Originally Posted by The Geek
hmmm - I dont know what to say without giving you a way that would break it for other its designed purpose. You can basically change the pasted code in the template to be HTML instead of BB code, however if its used in a normal forum setting, it will still post HTML which will get converted to plain text.

I think I need to add a conditional, same way the web page editor does it.

If html then . . . else . . .

Just not confident in my skills.

The Geek 06-29-2005 07:21 PM

The problem is that the popup doesnt know where it came from... it just knows is the wysiwyg editor is valid. If it is, it builds and pastes HTML into the editor, otherwose it spits BBcode into the editor.

dsboyce8624 06-29-2005 07:25 PM

Quote:

Originally Posted by The Geek
The problem is that the popup doesnt know where it came from... it just knows is the wysiwyg editor is valid. If it is, it builds and pastes HTML into the editor, otherwose it spits BBcode into the editor.

Sounds like a big bite for my tiny mouth. Guess I'll just do a conditional in the webpage editor to only show the popup if using bbcode.

lazytown 08-04-2005 12:25 AM

The Geek,

I've found what appears to be a bug in the Gallery Popup. If there is an aposthrophe (') in the picture's title, it will not insert correctly into the post. I haven't checked for quotes/etc. Actually when you click the thumbnail in the geek popup, it doesn't do anything.

By the way, I LOVE this mod!

-V

claimbuddy 08-31-2005 08:29 PM

Anybody subscribed to this thread!

Please post your suggestions for improvements again here.

1) display all images
2) display images in "category" choose category from drop list
3) display images from last week, day
4) display images from

basically when combined with gallery, a way to limit the choices for images you must look through to find the one you want - This way you can set up the gallery to work with the pop up (browser - it is basically an image browser - it browses the folder where all of your files are stored in gallery)

Hades-1 09-18-2005 07:22 PM

i searched and cant this

what im looking to do is to change the amout of thumbs displayed per row

can anyone help?

T3MEDIA 09-18-2005 08:15 PM

Nice ideas wish I could code.

Hades-1 09-18-2005 08:41 PM

*bump

The Geek 09-19-2005 06:47 AM

Quote:

Originally Posted by Hades-1
i searched and cant this


what im looking to do is to change the amout of thumbs displayed per row

can anyone help?

Its hard coded in which would require some file edits. You want more or less?

Hades-1 09-20-2005 12:31 PM

Quote:

Originally Posted by The Geek
Its hard coded in which would require some file edits. You want more or less?

thanks for your reply but i figured that out.

what i would like to know now if you dont mind is id like to add this to almost all the editors.

For instance when you edit your sig i would like this to be there. Could you tell me how?

The Geek 09-20-2005 09:33 PM

Quote:

Originally Posted by Hades-1
thanks for your reply but i figured that out.

what i would like to know now if you dont mind is id like to add this to almost all the editors.

For instance when you edit your sig i would like this to be there. Could you tell me how?

I think its there in all of them isnt it? If not - its in all except signatures (pretty sure it is though!)

Hades-1 09-20-2005 10:42 PM

beleive me when i say its not, i installed it and it works great, but its not on the signiture editor.

Hades-1 09-20-2005 10:51 PM

ok in the signiture editor it shows just [] and nothing else

but it works when posting, editing post and everywhere else, i tried editing the phrases but thats not it.

so whats missing thats not allowing it to work on the sigs?

The Geek 09-21-2005 05:34 AM

oh right... im speaking from memory so excuse if I screw up :)

either change the phrase in the template modification to a hard coded My Photos or add the phrasegroup to the usercp page (just like the editthread phrasegroup addition)

Sorry I cant be more exact - im out of town right now :) Ill be back late tonight so if your still having problems let me know and ill double check the source and give you the exact instructions.

HTH's

Hades-1 09-21-2005 12:31 PM

Quote:

Originally Posted by The Geek
oh right... im speaking from memory so excuse if I screw up :)

change the phrase in the template modification to a hard coded My Photos

thank worked perfect, thanks very much!

sensimilla 09-29-2005 03:04 PM

any chance for vb 3.5 version of that hack ? thanks in advance

PennylessZ28 10-01-2005 08:09 PM

I managed to get everything changed for 3.5 however I can't get the install to work.

I had it previously installed and currently experincing this error

Code:

Fatal error: Call to undefined function globalize() in /disk3/home2/web/beginner/fbody/geek-gallery-popup.php on line 27
I believe this can be made to work with 3.5 very easily

The Geek 10-01-2005 11:09 PM

Quote:

Originally Posted by HR3rdGen
I managed to get everything changed for 3.5 however I can't get the install to work.

I had it previously installed and currently experincing this error

Code:

Fatal error: Call to undefined function globalize() in /disk3/home2/web/beginner/fbody/geek-gallery-popup.php on line 27
I believe this can be made to work with 3.5 very easily

Yea, going to take a look at porting it over tomorrow.

Globalize is no longer used in vb3.5. Instead you use the GPC system. The DB object needs to be changed as well. Its not a very big mack so I doubt it will take too long. Ill see if I can do anything by tomorrow

sensimilla 10-05-2005 05:59 AM

bump! Im looking for it very very :D

keep up the good work mate

The Geek 10-05-2005 07:19 AM

thanks. Might as well give you an update.

Ive got it 99% ported over - however I need to re-examine the js in there as vb's changed its model somewhat for vb3.5

lazytown 10-06-2005 06:28 AM

I'm waiting for this with bated breath.

-V

Clayton 10-06-2005 06:32 AM

Quote:

Originally Posted by vissa
I'm waiting for this with bated breath.

-V

nothing beats garlic

MajorFm.com 10-18-2005 03:40 PM

Yes another hack that was piss easy to install! Appreciated!

Small problem, the norm was to store images at:

/usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/gallery/files

but i stored them at:

/usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/images/gallery

which isnt even in the gallery folder, how do i get round this?

I think i got it working... is this ok?

//$gallery_path is the URL (with no ending space to your photo system
//for photopost: "http://www.YOURSITE.com/photo"
//for vBa: "http://www.yoursite.com/gallery"
$gallery_path="http://www.majorfm.com/";

//$data_folder is the folder (relative to the above URL where the images are kept.
//for photopost:
//$data_folder="/data";
//for vBa:
$data_folder="/images/gallery";

...nope don't think that will work as when you click on the thumb, its the incorrect link to the image page!

...also i don't use the smiley box and that edit has messed up my template:

https://vborg.vbsupport.ru/

Please advise.

lazytown 10-18-2005 11:10 PM

Any word on updating this to vB 3.5?

The Geek 10-21-2005 04:18 PM

Should be up by tomorrow at the latest. It has been a freaking nightmare - I HATE JAVASCRIPT!

Anyhoo... heres a screenie to tide you over

nJoy

lazytown 10-21-2005 06:47 PM

YAY! Thankyou!

The Geek 10-22-2005 10:42 AM

New version for vb3.5 is here-> https://vborg.vbsupport.ru/showthread.php?t=99011

nJoy

MajorFm.com 10-22-2005 11:34 AM

help! im over here... whoo hooo?
Quote:

Originally Posted by MajorFm.com
Yes another hack that was piss easy to install! Appreciated!

Small problem, the norm was to store images at:

/usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/gallery/files

but i stored them at:

/usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/images/gallery

which isnt even in the gallery folder, how do i get round this?

I think i got it working... is this ok?

//$gallery_path is the URL (with no ending space to your photo system
//for photopost: "http://www.YOURSITE.com/photo"
//for vBa: "http://www.yoursite.com/gallery"
$gallery_path="http://www.majorfm.com/";

//$data_folder is the folder (relative to the above URL where the images are kept.
//for photopost:
//$data_folder="/data";
//for vBa:
$data_folder="/images/gallery";

...nope don't think that will work as when you click on the thumb, its the incorrect link to the image page!

...also i don't use the smiley box and that edit has messed up my template:

http://img52.imageshack.us/img52/4581/reply3ag.jpg

Please advise.


sensimilla 10-24-2005 06:06 AM

outstanding thanks!

hotwheels 10-28-2005 01:32 PM

I have been reading this thread for several day's and have noticed that atleast 5 people have the same issue i do, yet, noone has answered how to actually fix this problem> Warning: getimagesize(http://www.insanemustangs.com/home3/...by_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.insanemustangs.com/home3/...ts_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.insanemustangs.com/home3/...en_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.insanemustangs.com/home3/...51_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.insanemustangs.com/home3/...-1_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.insanemustangs.com/home3/...ng_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.insanemustangs.com/home3/...-1_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.insanemustangs.com/home3/...gt_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.insanemustangs.com/home3/...r3_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.insanemustangs.com/home3/...r2_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.insanemustangs.com/home3/...er_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.insanemustangs.com/home3/...r1_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198


no matter what i change, i cannot get past this error.

Wired1 10-28-2005 02:22 PM

hotwheels:

http://www.insanemustangs.com/home3/...elby_thumb.jpg doesn't exist.

What is the correct URL to nav to that file? Somewhere in the GEEKPOPUP SETTINGS, you have the folder location listed incorrectly.

hotwheels 10-28-2005 03:11 PM

it seems that my file is calling for: http://www.insanemustangs.com/galler...itts_thumb.jpg

and it should be calling for: http://www.insanemustangs.com/galler...itts_thumb.jpg

and i don't know why? I have the file set to call http://insanemustangs.com/gallery/files and for some reason when i execute it, it installs the /1 after files.

hotwheels 10-29-2005 02:47 PM

k, still working on this one and have hit a dead end.

In the geek pop-up php, these are the setting's i have:

Quote:

//$gallery_path is the URL (with no ending space to your photo system
//for photopost: "http://www.YOURSITE.com/photo"
//for vBa: "http://www.yoursite.com/gallery"
$gallery_path="http://www.insanemustangs.com/gallery";

//$data_folder is the folder (relative to the above URL where the images are kept.
//for photopost:
//$data_folder="/data";
//for vBa:
$data_folder="/files";
now when i click on the open in my post reply area, i get an error www insanemustangs.com/gallery/files/1/1.image

I am not putting that /1 right after the word files. I cannot figure out how to get the geek popup to quit calling that /1.......if you check the links i posted above, you will see that when the /1 isn't called, it show's the image.....

please please help me figure out how to get this damn /1 out of the geek pop up php call......

hotwheels

hotwheels 10-29-2005 10:41 PM

bueller, bueller......anyone?

hotwheels 10-29-2005 11:42 PM

just incase anyone want's to look and see how i have the file set up, here is the actual file.
As you can see, i am don't have a /1 anywhere in this file, but yet it keep's calling for it. Say's i have an error on 198, which is no http addy.....it wouldn't have the addy if it would just call for the /files instead of /files/1 ......

hotwheels 10-31-2005 01:19 AM

bueller? bueller? anyone?

The Geek 10-31-2005 11:39 AM

Hotwheels - do you have a rewrite rule (ie a SEO mod)?
the /1 folder is your userid. vBa (and I think PP if I remember right) sticks your images in a fodler structure based on your userid.

For instance, if my user id is 118 then it will put my images in IMAGEROOT/1/1/8
For you its most likely IMAGEROOT/1

I have never known PP or vBa to put all images in the root of the folder.

By the way, I have been out of town the since the 28th ;)

hotwheels 10-31-2005 07:12 PM

thanks for the reply...........this has been very frustrating........i have tried everyone of the geek_popup.php file's........the popup show's, but i either get the 198 error or there just isn't any images.........here is a shot of the last one i updated last nite:

// ### VBA SETTINGS ###

// IF using vBa Gallery - uncomment the following block and set variables

$photo_system="vba"; // Tells system you are using vBa gallery (other option is pp for photopost
$gallery_path="http://www.insanemustangs.com/gallery/files"; //URL to vBa gallery root
$gallery_server_path="/home3/hotwheel/public_html/gallery"; //server path to above URL
$data_folder="/files"; //Root folder containing images note leading /
//### END VBA SETTINGS ###

This one has the popup box, no picture's and there is no error shown on the page. As there was with the other .php file i tried.

Quote:

do you have a rewrite rule (ie a SEO mod)?
and i have no idea what that is.....none. I am not very good at php, but i have managed to get most program's to work within my site. Usually i find if i am having problem's, it's a me issue, but this one......i just don't know, i have gone over and over this one and just can't get this program to work........

and i hope wales was awesome...........went to bath when i was a kid, was a great place to visit...


All times are GMT. The time now is 08:58 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.03261 seconds
  • Memory Usage 1,843KB
  • 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
  • (2)bbcode_code_printable
  • (11)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