Note: I don't not recommend using it as a new hack, since Albums in the vbulletin does the same thing even better. this is mainly to people who used vbimghost on previous version and want to use it on vb 4.0.x
The port is just modification to the the template ( Not fully CSS ) and supporting the new plug ins .
A converter for vbimghost to vbulletin albums is under development. and will be included here when it's done. Requirements:
requires GD 2.0.1 or later (2.0.28 or later is recommended).
PHP ver 4.3.x or later (newer ver is better).
Introduction:
What does it do ?
VB Image Hosting is a similar feature to imageshak and photopoket and online free image hosting, but this is for your members. it will allow them to upload and host their images on your servers, you can still manage the permissions and set the number of files for each group.
Main Features:
Image hosting
Restrict # of file upload for each group
Allow/disallow group from upload
Restrict file uploaded based on file extension, dimensions and size
Users can manage their uploaded files
Users can set the view permission for each uploaded images
Admin can mange all members images
Admin can set the number of images/users per page.
Admin can mange images uploaded by the members
Admin can set the default upload permission
Thumbnail system admin can turn it on/off.
Allow multiple uploads.
Admin can set upload slots for each group
Admin can recreate thumbnails from admin cp
Fully using the phrase system.
Time required to install
1 min max.
Update instruction :
Just replace the old files with the new ones and import the product file don't forget to select overwrite.
Update vbimghost options Note: [best thumb size width * hight = 100 * 200]
NOTE:
before you post any error here :
Set that path to your forums correctly in the vbimghost options.
if you getting the error ""supplied argument is not a valid"
that's because you didn't set the path correctly
URGENT ISSUES: you may contact me on e-mail : waiel[at]waieleid.com
replace [at] with @ ok? -_-
i get this error message if i activate the mod and go to the CMS Comments.
Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15
i get this error message if i activate the mod and go to the CMS Comments.
Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15
Can anyone help me with this problem?
Quote:
Originally Posted by mobe00
I have the same problem here when i open a cms comment.
how do we fix that ?
Quote:
Originally Posted by paulbhoy
I also have this problem
Fixed it
Find the plugin "My Photo post bit".
Change the plugin code to :-
PHP Code:
$rec = vB::$db->query_read("
SELECT count(*) mark
FROM ".TABLE_PREFIX."vbimghost
WHERE userid='".$post['userid']."' and imgprivate='0'
");
$row = vB::$db->fetch_array($rec);
$post['vbimghost']=$row['mark'];
Basically the "$vbulletin->" is replaced with "vB::$"