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 04-15-2006 04:12 PM

Quote:

Originally Posted by NoRespect
I had the older version working fine, upgraded, and now I get a blank PHP page when uploading. :confused:

There were some PHP errors (such as not starting the file with <?php) that I cleaned up, but still nothing.

This is on Apache 2.0.xx & PHP 5.1.1 by the way...

Did you revert the templates !?

Ranma2k 04-15-2006 04:13 PM

Quote:

Originally Posted by rareclownfish
What file should I place this under or above in the navbar?

No edit the template Navbar
and replace the links with the absloute one

Nathan2006 04-15-2006 06:58 PM

Hi Waiel

Thank you for the update :)

Just one problem I find is that when a guest is viewing the main page they can view the image host link and click on the upload or view.

I know they cannot do anything but is there anyway to hide it from guests?

Thanks for your help :)

Ranma2k 04-15-2006 07:21 PM

Quote:

Originally Posted by Nathan2006
Hi Waiel

Thank you for the update :)

Just one problem I find is that when a guest is viewing the main page they can view the image host link and click on the upload or view.

I know they cannot do anything but is there anyway to hide it from guests?

Thanks for your help :)

yes

in navbar
search for

Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
                                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>



and replace it with
Code:

<if condition="$bbuserinfo['userid']">
<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
                                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>
</if>

this will only show the menu to registred members

Roms 04-15-2006 07:26 PM

Great idea!

rareclownfish 04-15-2006 09:18 PM

Quote:

Originally Posted by Ranma2k
No edit the template Navbar
and replace the links with the absloute one

Again what file am I looking for? Thanks

Nathan2006 04-15-2006 09:49 PM

Quote:

Originally Posted by Ranma2k
yes

in navbar
search for

Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>



and replace it with
Code:

<if condition="$bbuserinfo['userid']">
<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>
</if>

this will only show the menu to registred members



Thank you Waiel

Works great now :D

Ranma2k 04-16-2006 04:35 AM

Quote:

Originally Posted by rareclownfish
Again what file am I looking for? Thanks

in navbar find this :
Code:

<div class="vbmenu_popup" id="vbimghost_menu" style="display:none">
                                        <table cellpadding="4" cellspacing="1" border="0">
                                       
                                        <tr><td class="thead">$vbphrase[vbimghost_title]</td></tr>               
                                        <tr><td class="vbmenu_option"><a href="vbimghost.php?do=myimages">$vbphrase[vbimghost_menushimg]</a></td></tr>
                                        <tr><td class="vbmenu_option"><a href="vbimghost.php?do=upload">$vbphrase[vbimghost_menuupimg]</a></td></tr>
                                        <tr><td class="vbmenu_option"><a href="vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr>
                                        </table>
                                </div>


and replace it with this
Code:

<div class="vbmenu_popup" id="vbimghost_menu" style="display:none">
                                        <table cellpadding="4" cellspacing="1" border="0">
                                       
                                        <tr><td class="thead">$vbphrase[vbimghost_title]</td></tr>               
                                        <tr><td class="vbmenu_option"><a href="http://www.rareclownfish.com/vbimghost.php?do=myimages">$vbphrase[vbimghost_menushimg]</a></td></tr>
                                        <tr><td class="vbmenu_option"><a href="http://www.rareclownfish.com/vbimghost.php?do=upload">$vbphrase[vbimghost_menuupimg]</a></td></tr>
                                        <tr><td class="vbmenu_option"><a href="http://www.rareclownfish.com/vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr>
                                        </table>
                                </div>


rareclownfish 04-18-2006 06:23 PM

Quote:

Originally Posted by Ranma2k
go to the Phrase Manager and search for it
replace it with what you want it to be

Where is the phrase manager located?

Ranma2k 04-18-2006 06:56 PM

Quote:

Originally Posted by rareclownfish
Where is the phrase manager located?

in the admincp .. in the left side menu under language and phrases


All times are GMT. The time now is 04:35 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.01809 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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