Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBSigHosting v1.0.1 Details »»
vBSigHosting v1.0.1
Version: 1.00, by Logikos Logikos is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.0.3 Rating:
Released: 04-13-2004 Last Update: Never Installs: 124
 
No support by the author.

vBSigHosting v1.0.0



====================
Author: Ken 'LiveWire' Iovino
Site: www.vbhacks.us
Version: 1.0.1
====================

Updates
  • Fixed bug with profile pic showing avatar.
    If your using 1.0.0 please read upgrad_from_1.0.0.txt for the bug fixes


What this does
vBSigHosting is a free image hosting hack for remote hosting of signatures for your forums. This will allow members to upload there signature to your site and use it on your site. Each user gets one upload, with a file width, height, and size limit that you specified in the admin cp.

Features:
  • Completely Admin CP controlled.
  • Turn on/off for diffrent usergroups.
  • File sizes, width, and height restrictions (pixels) via ACP.
  • One user equals one signature image at a time.
  • When user uploads new signature, old signature will erase.
  • All images are stored in database.
  • And more...
To do list...
  • Time to install: 15-20 minutes
  • Queries to run: 2
  • File Mods: 5
    • /admincp/usergroup.php
    • /includes/init.php
    • /includes/functions_upload.php
    • /forum/profile.php
    • /forum/image.php
  • Templates to edit: 1
  • Templates to add: 1
  • New Phrases: 14

Click It


Please read carefully and make all the necessary changes at stated. This is will work if installed properly. I've tested this hack on 3 diffrent vBulletin boards running version 3.0.0. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack, please be kind and click on the "Install" button, i will have some updated versions soon.

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply.


Please post bugs and errors here. Hope you like, feedback welcomed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 08-04-2004, 10:07 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone noticed that when you install this hack profile pictures stop working? Sorry if this is already known in a hurry. Using 3.0.3
Reply With Quote
  #103  
Old 08-05-2004, 12:34 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add on to that. When I go to upload a Profile picture it shows my avatar... if I dont have a avatar it shows nothing......

I uninstalled the hack and nopw the profile pics work correctly
Reply With Quote
  #104  
Old 08-05-2004, 01:59 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this as an option on the ustore.
Reply With Quote
  #105  
Old 08-05-2004, 02:12 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys im no longer supported this hack, if someone wants to work on it then i give em full permissions.
Reply With Quote
  #106  
Old 08-05-2004, 02:13 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sigh anyone else?
Reply With Quote
  #107  
Old 08-05-2004, 02:32 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Livewire for making this possible.
Reply With Quote
  #108  
Old 08-06-2004, 02:12 AM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrentWilson
Sigh anyone else?
Yeah, it's a simple fix. I'm not even a "coder," but I managed to find out what was causing it.

In the instructions of the mod, it tells you this..

PHP Code:
Open: /forum/image.php Find (around line 177):
        if (
$_REQUEST['type'] == 'profile')
        {
                
$data 'profilepicdata';
                
$table 'customprofilepic';
                
// No permissions to see profile pics
                
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
                {
                        
header('Content-type: image/gif');
                        
readfile("./$vboptions[cleargifurl]");
                        exit;
                }
        }        

Under Add:
        if (
$_REQUEST['type'] == 'siguploader')
        {
                
$data 'siguploaderdata';
                
$table 'customsiguploader';
        } 
Doing that divides an "else" code from the profile picture code. So instead of adding that code there, add it under..

PHP Code:
        if ($_REQUEST['type'] == 'profile')
        {
                
$data 'profilepicdata';
                
$table 'customprofilepic';
                
// No permissions to see profile pics
                
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
                {
                        
header('Content-type: image/gif');
                        
readfile("./$vboptions[cleargifurl]");
                        exit;
                }
        }        
    else
    {
        
$data 'avatardata';
        
$table 'customavatar';
    } 
That way, the code stays together, the profile pictures work, and the signature uploader works too, or so I think..

Which brings me to my problem.. if a user is in multiple usergroups, s/he cannot upload a picture (uploading just refreshes the page, showing no error and no confirmation).
Reply With Quote
  #109  
Old 08-07-2004, 12:45 AM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be very cool if this hack could adopt some options from the old vB2 hack that allows me to have 2 images and it has an insert option so when they click one of the images it will be inserted in the signature.
Reply With Quote
  #110  
Old 08-07-2004, 05:02 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dorign
Yeah, it's a simple fix. I'm not even a "coder," but I managed to find out what was causing it.

In the instructions of the mod, it tells you this..

PHP Code:
Open: /forum/image.php Find (around line 177):
        if (
$_REQUEST['type'] == 'profile')
        {
                
$data 'profilepicdata';
                
$table 'customprofilepic';
                
// No permissions to see profile pics
                
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
                {
                        
header('Content-type: image/gif');
                        
readfile("./$vboptions[cleargifurl]");
                        exit;
                }
        }        

Under Add:
        if (
$_REQUEST['type'] == 'siguploader')
        {
                
$data 'siguploaderdata';
                
$table 'customsiguploader';
        } 
Doing that divides an "else" code from the profile picture code. So instead of adding that code there, add it under..

PHP Code:
        if ($_REQUEST['type'] == 'profile')
        {
                
$data 'profilepicdata';
                
$table 'customprofilepic';
                
// No permissions to see profile pics
                
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
                {
                        
header('Content-type: image/gif');
                        
readfile("./$vboptions[cleargifurl]");
                        exit;
                }
        }        
    else
    {
        
$data 'avatardata';
        
$table 'customavatar';
    } 
That way, the code stays together, the profile pictures work, and the signature uploader works too, or so I think..

Which brings me to my problem.. if a user is in multiple usergroups, s/he cannot upload a picture (uploading just refreshes the page, showing no error and no confirmation).
Awsome that worked
Reply With Quote
  #111  
Old 08-07-2004, 08:53 PM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woot ^_^
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05328 seconds
  • Memory Usage 2,361KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete