vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=123481)

glennno 08-03-2007 12:18 AM

In the uninstall directions is this instruction:

"you'll have to manualy delete the table vbimghost from the database."

How exactly does one do this? Think newbie.

msalman 08-06-2007 02:43 AM

Quote:

Originally Posted by Ranma2k (Post 1306798)
That's because you didn't set the correct path to your forums ..
/home/users/public_html/forums/ is the default setting which is not yours for sure ..!

i have set up the correct path but it still give that error. Let's say, if we do go with your answer then it means that it should give an error when you try to upload a file because it can't find the correct path but it doesn't happen. So could you please help me out, thank you! btw it is a great mod and i liked it

Quote:

Originally Posted by glennno (Post 1308591)
In the uninstall directions is this instruction:

"you'll have to manualy delete the table vbimghost from the database."

How exactly does one do this? Think newbie.

the easiest solution would be to run a manual query in your admin control panel. Login to Admin Control panel, Maintenance->Execute SQL Query. Then in the manual query box copy the following
Quote:

DROP TABLE tableprefixvbimghost
this should work, do not forget to replace the "tableprefix" with your own table prefix if you have set up one.

Ranma2k 08-06-2007 05:42 AM

Quote:

Originally Posted by SupraT (Post 1307770)
I am getting this error, after a first time install

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/clanspy/public_html/forum/includes/vbimghost_include.php on line 175


Also note that the image are actually in the folder on the server, but do not appear in the user account as an uploaded image.

Thanks in advance for the help.


Do you have GD library installed ?


Quote:

Originally Posted by glennno (Post 1308501)
I have the same issue, JesterP. FWIW, I posted a similar yet broader question over at vBulletin.com here. If you've gotten an answer, please post it here? Thanks.


the only way to protect against that is using the hot link protection
which will not allow to use any other site except yours

Quote:

Originally Posted by msalman (Post 1310829)
i have set up the correct path but it still give that error. Let's say, if we do go with your answer then it means that it should give an error when you try to upload a file because it can't find the correct path but it doesn't happen. So could you please help me out, thank you! btw it is a great mod and i liked it

the easiest solution would be to run a manual query in your admin control panel. Login to Admin Control panel, Maintenance->Execute SQL Query. Then in the manual query box copy the following
this should work, do not forget to replace the "tableprefix" with your own table prefix if you have set up one.

i can help you all you need is just ask ^_^

send me the info via pm and i'll take a look.

VBUsers 08-10-2007 07:34 AM

thank you and installed

dellow 08-10-2007 10:42 AM

Thank you,

it is really good hack, but can't install it for security reason, i hope new feature be added to enable romote server for uploading images.

Regards,

AntiThesis 08-15-2007 08:49 PM

This is fantastic thank you :)

Exactly what I've been looking for all this time.

Johnny Utah 08-17-2007 03:35 AM

Quote:

Originally Posted by Ranma2k (Post 1084505)
Here you go
create a file with the following code:
Code:

<?
$rec = $vbulletin->db->query_read("
        SELECT imgid,imgfile,thumbname,imgwidth,imgheight,imgdate
        FROM ".TABLE_PREFIX."vbimghost
        WHERE imgprivate='0'
        order by imgdate DESC
        LIMIT 5
        ");

$count = $db->num_rows($rec);

$rec2 = $vbulletin->db->query_read("
        SELECT count(*) mark
        FROM ".TABLE_PREFIX."vbimghost
        WHERE userid='$userinfo[userid]' and imgprivate='0'
        ");
$row2 = $vbulletin->db->fetch_array($rec2);
if ($count){
        while ($row = $vbulletin->db->fetch_array($rec)) {
                $vbimghost['id']=$row['imgid'];
                $vbimghost['path']=$vbulletin->options['bburl']."/".$vbulletin->options['imgdir']."/".$row['imgfile'];
                $vbimghost['dispath']=$vbulletin->options['bburl']."/vbimghost.php?do=displayimg&imgid=".$row['imgid'];
                $vbimghost['width']=$row['imgwidth'];
                $vbimghost['height']=$row['imgheight'];
                $vbimghost['date']=date('Y-m-d', $row['imgdate']);
                if (file_exists($vbulletin->options['imgdir']."/".$row['thumbname'])){
                        $vbimghost['thumbpath']=$vbulletin->options['bburl']."/".$vbulletin->options['imgdir']."/".$row['thumbname'];
                        $vbimghost['thumbsize']=0;
                }else{
                        $vbimghost['thumbpath']=$vbimghost['path'];
                        if ($row['imgwidth'] <= $vbulletin->options['imgthumw'])
                                $vbimghost['thumbsize']=$row['imgwidth'];
                        else
                                $vbimghost['thumbsize']=$vbimghost['imgthumw'];
                }
                        eval('$mimghost .= "'.fetch_template('vbimghost_memberbit') . '";');
                        $vbimghost['more'] = "<a href='vbimghost.php?do=viewimages&id=$userinfo[userid]'>" .construct_phrase($vbphrase['vbimghost_viewmore'],$row2['mark'])."</a>";
        }
}else{
                $vbimghost['more'] = "";
                eval('$mimghost ="'.fetch_template('vbimghost_memberbit_noimg') . '";');
}

$vbimghost['last5'] = $mimghost;

eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_vbimghost_module') . '";');
?>


Name the file (last5.php) and save it int he module folder

Now create a template with the following name ( adv_portal_vbimghost_module )
and put this code in it

Code:

<tr>
<td>
<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody>
        <tr align="center">
                $vbimghost[last5]
        </tr>
</tbody>
</table>
</td>
</tr>


Now go to vbadvanced and chose Add Module --> select PHP FILE

in there set the following :

Module Title : Last 5 images uploaded
Column : center
Active : yes
Update All Pages: yes ( if you want it to be displayed on all pages )
File to include : last5.php
Templates Used : adv_portal_vbimghost_module
Clean File Output: no
Use Module Shell Template: yes


and it should work with you :)

Does anyone know if there is a way to show the username of the user who posted the image underneath each of the last 5 images uploaded?

BadgerDog 08-17-2007 10:15 AM

Anyone?

Excellent mod...

The only issue I have found is cosmetic. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

Not sure why?

Thanks again ...

Regards,
Badger

utw-Mephisto 08-20-2007 09:50 AM

Is there any way to upload the files on another server (different IP etc.) ?

bostton1 08-23-2007 01:11 AM

any word when the description and comments part will be enabled?

will people be able to create different "albums" within their gallery?

this is a great mod, I just need those last two functions.

thanks

HarryBO 08-23-2007 11:10 PM

Awesome hack. I hope my users will love it too.

One Question: I donĀ“t want that guests could see the pictures. How can I do this?

TigerWare 08-26-2007 07:00 AM

Quote:

Originally Posted by BadgerDog (Post 1319472)
The only issue I have found is cosmetic. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

I have this cosmetic issue also.

**edit to add**
Actually this was answered back in September 2006 ! But apparently not fixed yet. :(
https://vborg.vbsupport.ru/showthrea...os#post1068372

Ranma2k 08-27-2007 07:01 AM

Well i have been busy so the development of the hack was slow attached the fix for the cosmetic issue

Import the attached one and it will fix it

i also prefer if you disable the plugin called
  • vbimghost My Photo post bit
if you have problem remove the fix

As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new

TigerWare 08-27-2007 08:51 AM

Quote:

Originally Posted by Ranma2k (Post 1326535)
Well i have been busy so the development of the hack was slow attached the fix for the cosmetic issue

Import the attached one and it will fix it

i also prefer if you disable the plugin called
  • vbimghost My Photo post bit
if you have problem remove the fix


Ranma2k, thanks for this hotfix it works great.

Unfortunately I just found another one :(

The 'Open' link in the smilies area of the PM Reply does not show, just the square brackets []

BadgerDog 08-27-2007 09:47 AM

Quote:

Originally Posted by Ranma2k (Post 1326535)
As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new

That's terrific .... :up:

Really looking forward to it as I think this is a great add-on for vBulletin... :)

Regards,
Badger

itsid 08-27-2007 10:49 AM

Hi,
would be nice if you -if you already plan to do a new release this month-
could add your template modifications to a plugin,
using that fancy new template_hook -system

just a thought

'sid

Ranma2k 08-27-2007 10:57 AM

Yah that's whats i'm planning :)

Ranma2k 08-27-2007 11:16 AM

Quote:

Originally Posted by TigerWare (Post 1326591)
Ranma2k, thanks for this hotfix it works great.

Unfortunately I just found another one :(

The 'Open' link in the smilies area of the PM Reply does not show, just the square brackets []

Just add a new phrase
with the following setting :

Phrase Type: Global
Product: vb image hosting
Varname: open
Text : open

and it should work with you

TigerWare 08-27-2007 12:54 PM

Quote:

Originally Posted by Ranma2k (Post 1326657)
Just add a new phrase
with the following setting :

Phrase Type: Global
Product: vb image hosting
Varname: open
Text : open

and it should work with you


Cheers Ranma2k,
I have that working now too. I did change the phrase name to vbimghost_open to make it consistent with your other phrases, plus altered the reference to the phrase in the editor_smiliebox template to match. Perfect now, thank you so much for this! :up:

theFAILURE 08-27-2007 04:16 PM

Ranma2k, excellent work with this mod, I have about 1500 photos up there as we speak.

Question: is there a way to make the member's avatar show up beside their username?

Here is an example I made with photoshop:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

johnrizz 08-27-2007 08:49 PM

this is how it is done, It shows up to the lift of my username so it works.
admincp===> Usergroups===> Usergroup Manager===> Administrators....
Place this code in the first box of were it says Username HTML Markup, right under User Title . Just point to where your avatar is in red, hope this works for ya. <img src="images/avatars/Your Avatar.gif"border="0"class="inlineimg"/>




Quote:

Originally Posted by theFAILURE (Post 1326803)
Ranma2k, excellent work with this mod, I have about 1500 photos up there as we speak.

Question: is there a way to make the member's avatar show up beside their username?

Here is an example I made with photoshop:

https://vborg.vbsupport.ru/external/2007/10/27.jpg


theFAILURE 08-27-2007 08:54 PM

My question is specifically directed towards VB image hosting, it seems like your answer would alter everything on the board.

I just want to include the users avatar in the vbimge user listing only.

For example, I just want the avatar to be show on th left of the username in this list:
http://thescambaiter.com/forum/vbimg...hp?do=userlist

I already have HTML markup for all my different usergroups, dont want to alter that becuase it will alter the entire board.

itsid 08-27-2007 10:37 PM

Quote:

Originally Posted by Ranma2k (Post 1326655)
Yah that's whats i'm planning :)

AWESOME!

I'm looking forward to your new version :D

cheers
'sid

Sitting 09-01-2007 05:20 AM

Great hack... have a question...

Is posible the control of upload total amount to the server?

Thanks in advanced

christian8a 09-02-2007 04:05 PM

Just a quick question bro.

Under the smilies I added those 2 links: open and quick upload.
When I click open there are the thumbnails, but when I click on one it sends the thumbnail and the url to it.

Is there a way to send the [IMG| tags so the pic is ready to see full size?

Thanx man
Chris

Carlos2 09-04-2007 11:38 PM

Hi, anybody knows how can i put in the last five pictures in profile thumbs instead of the big images??

Ascor 09-06-2007 12:49 AM

Quote:

Originally Posted by Ranma2k (Post 1326535)
As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new

Nice pics :) any chance to have option to alove member setting album view private for buddy only ?

Carlos2 09-06-2007 09:43 PM

Nobody knows how can i do thumbs? i need the information please.

AllenSam 09-06-2007 10:25 PM

Would it be possible to make it so it keeps the images' original file names? Other than that, this hack is awesome. Good work.

casa 09-06-2007 10:33 PM

Quote:

Originally Posted by AllenSam (Post 1333913)
Would it possible to make it so it keeps the images' original file names? Other than that, this hack is awesome. Good work.


I AGREE 100%.... changing of the file name makes the mod a little confusing for users.


Also, if you can find a way to let users browse their imghost gallery while creating a post, and then select the image they want to display in the post.... that would be sweet. I would even pay for this to be developed.

TigerWare 09-07-2007 06:14 PM

Quote:

Originally Posted by casa (Post 1333917)
Also, if you can find a way to let users browse their imghost gallery while creating a post, and then select the image they want to display in the post.... that would be sweet. I would even pay for this to be developed.

It is already part of the release. There is an extra modification to add a quick upload and an open option to the smilies box section of the post editor screen. If you go back a few posts you will see us talking about it. :D

casa 09-07-2007 08:42 PM

Quote:

Originally Posted by TigerWare (Post 1334395)
It is already part of the release. There is an extra modification to add a quick upload and an open option to the smilies box section of the post editor screen. If you go back a few posts you will see us talking about it. :D


Tigerware -

Part of what release, the current one?? I installed this a couple months ago, and dont have this feature!

TigerWare 09-08-2007 07:15 AM

Quote:

Originally Posted by casa (Post 1334475)
Tigerware -

Part of what release, the current one?? I installed this a couple months ago, and dont have this feature!


Yes the current one. See section D of the installation instructions that came with the zip file. It's the section called 'Addons' and is the 3rd section down entitled : "Adding quick upload and gallaries box in new thread / reply?".

Carlos2 09-09-2007 06:59 AM

Anybody can tell me what i want please?

casa 09-09-2007 08:40 PM

Quote:

Originally Posted by TigerWare (Post 1334706)
Yes the current one. See section D of the installation instructions that came with the zip file. It's the section called 'Addons' and is the 3rd section down entitled : "Adding quick upload and gallaries box in new thread / reply?".


Got it! Thank you...I can't believe I missed that!!!

casa 09-14-2007 04:03 PM

Anyone have a way to display the latest uploaded image on another (non-VB) page, and link it to the gallery, the forum, or wherever?

slmoney 09-15-2007 04:46 PM

Ok..I'm not getting this to work at all. If I click on upload an image All I get is a white screen.

Any ideas???

beishe8 09-15-2007 06:30 PM

Quote:

Originally Posted by slmoney (Post 1339605)
Ok..I'm not getting this to work at all. If I click on upload an image All I get is a white screen.

Any ideas???

Template problems?

slmoney 09-16-2007 02:30 AM

even with the default template?

Am I missing something? I have the latest version of PHP and GD is installed on my server...I have pointed the settings to my forum and directories...just getting a blank white screen.

Help?!?

beishe8 09-16-2007 08:45 AM

Quote:

Originally Posted by slmoney (Post 1339883)
even with the default template?

Yes,even with the default template.


All times are GMT. The time now is 05:36 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.04624 seconds
  • Memory Usage 1,856KB
  • 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
  • (22)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
  • (40)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