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)
-   -   VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=106127)

Ranma2k 02-05-2006 06:47 PM

Quote:

Originally Posted by 10sion
Is there a way to make it so only certain usergroups (like admins) can see the link to the image host in the navbar?

Quote:

Originally Posted by kofoid
Is there any way for a user to resize their images - kinda like photobucket?

curently no but the next ver i'll try to put it

10sion 02-05-2006 07:10 PM

Isn't there a way to use that conditional thing? Like the "if admin, then show link"?

I forgot what the exact code was, but thanks.

Ranma2k 02-05-2006 07:34 PM

Quote:

Originally Posted by 10sion
Isn't there a way to use that conditional thing? Like the "if admin, then show link"?

I forgot what the exact code was, but thanks.

yes you can do that in the template

use the <if condition="$show['admincplink']"> in the tempate navbar

find
PHP Code:

<tr><td class="vbmenu_option"><a href="vbimghost.php?do=userlist">View all users images</a></td></tr

and change it to
PHP Code:

<if condition="$show['admincplink']"
<
tr><td class="vbmenu_option"><a href="vbimghost.php?do=userlist">View all users images</a></td></tr></if> 


10sion 02-05-2006 08:02 PM

Ah okay sweet, thanks a lot. =)

projectego 02-05-2006 08:24 PM

Very sexy hack, saves my community from having to go to imageshack.us anymore... ;)

Cheers.

Kuimera 02-05-2006 11:15 PM

Quote:

Originally Posted by Dreamchaser
Couple Of Issues and Suggestions :

I have a different skin, not the default one that comes with vBulletin, in my skin the navbar links are'nt in text, they are in image, I did create and implement image for the image hosting and introduced it there and seems to working fine, how do I get rid of the arrow icon that you have integrated in the id=vbimghost, where can I edit to remove that small arrow, as I have designed a arrow withing the image.

Next, after everything was completed, and working fine, when I click to upload image, view image or perform any operation, i just get same error as that there are no images and something same of the sort.

Once you clear my doubts and this suggestion, I will try re-installing again!

Thanks a lot for this hack, I have been looking for some long time and finally its here, just provide a support for people using images in navbar !

Regards,
DC

Hey I was having the same problem, but I figured a way to remove the arrow..
Use this code in the HEADER template:

Code:

<td width="65" height="25" align="left" valign="top" id="vbimghost"><a href="#vbimghost"><img src="$stylevar[imgdir_misc]/q_links.gif" alt="" width="65" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("vbimghost" ,1); </script></td>
Now I have an issue, on the "Upload an image" template, the box "Statics" background is all in black, is there a way of changing this to white or to use my template background?

BigTrucK72 02-07-2006 06:17 PM

Awesome mod... keep up the good work.

The Chief 02-07-2006 06:23 PM

any ideas when the next version will be released ranma?

Sean James 02-08-2006 03:03 AM

Awesome hack man thanks ;)

*installed

Sean James 02-08-2006 03:12 AM

One bug i get is that when i delete a image i get a white screen, but apart from that great hack ;)

A good feature to see, would be stats in the statistics box at the bottom of your forums saying how many images we have hosted :D


All times are GMT. The time now is 10:04 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.01708 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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