vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Attachment Browser (https://vborg.vbsupport.ru/showthread.php?t=103519)

cbr929rrerion 12-30-2005 09:25 PM

ok.. I changed this
Code:

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD gallery SMALLINT(6) DEFAULT '1' NOT NULL");
and reinstalled the xml, still says no..

Did I change the wrong thing or what do I need to do?

El_Muerte 12-31-2005 08:36 AM

you need to uninstall and then reinstall, during upgrading the uninstall code isn't executed.

or you could simple execute a db query setting all values of gallery to 1, e.g.

update forum set gallery = 1;

cbr929rrerion 12-31-2005 04:25 PM

Quote:

Originally Posted by El_Muerte
you need to uninstall and then reinstall, during upgrading the uninstall code isn't executed.

or you could simple execute a db query setting all values of gallery to 1, e.g.

update forum set gallery = 1;


Thank you, I did the db query and it took less than the blink of an eye to do all 178 ..

That was so helpful.. BTW.. my members love your work, I appreciate it.

Mastar 12-31-2005 08:20 PM

I can't get it to show on my forum. I had Gallery installed but I saw the conflick, now I deleted Gallery and still doesn't show. Help!!

cbr929rrerion 01-10-2006 04:21 PM

I have a question, it works perfectly except 1 thing..

If your not a registered user, it shows everything except where the pics are its just the blank image place holder. Any way to make a default gif to put there or just not show it at all if not registered?

It looks terriable to non-members..

El_Muerte 01-10-2006 06:05 PM

uhm.. do you have a restriction on viewing images on your forum?

Club3G 01-10-2006 06:16 PM

[high]* Club3G clicks install
[/high]

Couple of quick questions:

Is there a way to get it to span the same width as the forum tables? The fixed width looks a little off at higher resolutions.

Also, a non-fixed height would be awesome. The horizontal scrollbar is great, but the vertical just looks ugly.

Screenshot:

http://www.club3g.com/members/chris/attachplugin.jpg

Great mod otherwise, thank you! :D

cbr929rrerion 01-10-2006 07:14 PM

of course I do, only members can see images...

I dont want non-members to be able to view images.

So is there a way to make it load a non-member gif that I can make or just not show up at all to non members? I would prefer the image of my choice in its place, maybe an if statement or something?

cbr929rrerion 01-11-2006 02:26 AM

anyone know how to add an if statement to have it show a predetermind image to non-members?

El_Muerte 01-11-2006 05:08 PM

Quote:

Originally Posted by Club3G
[high]* Club3G clicks install
[/high]

Couple of quick questions:

Is there a way to get it to span the same width as the forum tables? The fixed width looks a little off at higher resolutions.

Also, a non-fixed height would be awesome. The horizontal scrollbar is great, but the vertical just looks ugly.

Screenshot:

http://www.club3g.com/members/chris/attachplugin.jpg

Great mod otherwise, thank you! :D

Only MSIE has a fixed width, the reason for this is because MSIE is broken and doesn't properly size the table cell. So unless you can find a way to make MSIE behave properly it can't be fixed.

Quote:

Originally Posted by cbr929rrerion
anyone know how to add an if statement to have it show a predetermind image to non-members?

PHP Code:

<if condition="$bbuserinfo['userid'] == 0">
// ...
</if> 

(not tested)


All times are GMT. The time now is 01:59 PM.

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.01081 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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
  • (10)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