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

MiskaTorn 02-22-2005 08:00 PM

Ok this might help...

It seems the installer is modding actual php files...mine did not edit.

I opened file_mods.php and saw the changes in there and did it manually.

MiskaTorn 02-22-2005 08:14 PM

When I try to upload an image, all I get is a white page.

loneranger 02-23-2005 03:57 PM

you will need to go into the admincp and add your usergroup, in admincp there is a section called 'Image Hosting' select add usergroup then add your information

liquid6 02-23-2005 05:48 PM

Quote:

Originally Posted by Elfo King
Argh...i have installed but..i cant upload and view any images...
i not have the privileges.....


I also do not have the option under Image Hosting to add usergroups or permissions.

Elfo King 02-23-2005 06:07 PM

Quote:

Originally Posted by liquid6
I also do not have the option under Image Hosting to add usergroups or permissions.

Yes, i not have the option for select the usergroup permissions... :disappointed:

Elfo King 02-23-2005 06:09 PM

I have this problem whit a fresh install of the 1.20 version....

loneranger 02-23-2005 06:36 PM

have you followed all the file mods
find:
Code:

// ################################ NAVIGATION FRAME #############################

if ($_REQUEST['do'] == 'nav')
{
        require_once('./includes/adminfunctions_navpanel.php');
        print_cp_header();

        echo "\n<div>";
        ?><img src="../cpstyles/<?php echo $vboptions['cpstylefolder']; ?>/cp_logo.gif" title="<?php echo $vbphrase['admin_control_panel']; ?>" alt="" border="0" hspace="4" <?php $df = print_form_middle("L4181f6a"); ?> vspace="4" /><?php
        echo "</div>\n\n" . iif(is_demo_mode(), "<div align=\"center\"><b>DEMO MODE</b></div>\n\n") . "<div style=\"width:168px; padding: 4px\">\n";

        // cache nav prefs
        can_administer();

        construct_nav_spacer();

paste below
Code:

// ############################## IMAGE HOSTING HACK #############################
    construct_nav_spacer();
        construct_nav_option('Edit Usergroup Premissions', 'imghost.php?do=view', '|');
    construct_nav_option('Add Usergroup Premissions', 'imghost.php?do=add');
        construct_nav_group('Image Hosting', '<hr />');
    construct_nav_spacer();
 // ########################### END OF IMAGE HOSTING HACK ########################

make sure you have done this mod in /admincp/index.php

loneranger 02-24-2005 04:26 PM

did this work for everyone please let me know because if not i will look into it and modify the code

bigmonay2k 02-25-2005 12:03 AM

I thinking, is there way to only limit it to post in your *forum only*if whoever use it post it somewhere else my forum logo will show up instead of the pic.?????

loneranger 02-25-2005 11:44 AM

the only way to do that is use php and you will need to have html enabled, i think thats right anyway


All times are GMT. The time now is 02:20 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.01316 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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