The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
4images Gallery 1.7 Details »» | |||||||||||||||||||||||||
A lot of people, both here and at 4homepages.de have been requesting for a mod/hack that would integrate vBulletin 3 RCX with 4images 1.7 lately. The solutions are scattered around the forums, but nobody has it all in one page.
So I've decided put them all togather, and release it, so it will be easier for people to do the intigration successfully. Please note that all the codes in this hack/mod are property of Jan and mtha. http://www.4homepages.de/forum/viewtopic.php?t=1659 http://www.4homepages.de/forum/viewt...tart=165#32514 I have tested this on vBulletin 3.0.0 RC3 and it worked successfully. Features:
Attached Demo: http://www.randomforum.com/forums/gallery *NEW (Please note the gallery sports a custom style, not the default) http://www.vb-es.com/galeria/ (Non-English) Show Your Support
|
Comments |
#192
|
||||
|
||||
Quote:
admin/admin_global.php </edit file> Search for PHP Code:
PHP Code:
Quote:
In sessions.php: $user_table_fields = array( ... "user_comments" => "user_comments" This field is for a column in user table showing the number of comments that some user has, not the same with the one in constants.php I would suggest you to do this: Add one field in your FORUM' user table, name it "user_album_comments" and make this one be "user_comments" => "user_album_comments" It may work, I didnt test. |
#193
|
||||
|
||||
can you say me the command which I have to enter with phpMyAdmin to alter the table with this field? Then I'll try it out... ^^
To the integration: nice work... It's very nice that you have done that things that Matrixgl had to do for us, it works great... The only minor problem is that all users are logged out if they are 900 seconds not on a page of the forum, then the cookietime of the vB-loggedincookie expires... |
#194
|
||||
|
||||
Quote:
Code:
ALTER TABLE user ADD `user_album_comments` VARCHAR( 100) NOT NULL |
#195
|
||||
|
||||
hey, that was a fast reply... thanks
I'll now try this out and then I'll say you if it works... |
#196
|
||||
|
||||
Most welcome Just surfin about drinkin coffee before bed.
|
#197
|
||||
|
||||
Great work mtha, it works perfect... now it shows the nuber of the comments... thanx
The only problem is that everyone has to make a comment now to update it... can I use any sql-query to update it from all users? And what about new registered users, there should be a 0 then Can you try to fix the same with the email field? it looks so empty I've set this in includes/sessions.php, but the field is empty =( PHP Code:
|
#198
|
|||
|
|||
I integrated in successfully but members send new images.It require admin Validate images .How can i turn off this option?
|
#199
|
||||
|
||||
Quote:
|
#200
|
||||
|
||||
Quote:
Code:
ALTER TABLE user ADD `user_album_comments` SMALLINT( 9 ) DEFAULT '0' NOT NULL; Quote:
and for each member, do a querry to count # of comments, assign the value for $comments SELECT COUNT( * ) AS comments FROM 4images_comments WHERE user_id =$user[userid] then update the value of this counter UPDATE user SET user_album_comments=$comments WHERE userid = $userid" that's only the idea, you should modify and put it in proper form You should check the "Update counter" or userpost from vB ACP part. line 191, misc.php PHP Code:
MAYBE something like PHP Code:
|
#201
|
||||
|
||||
hmmm yes, worked without any problems
hmmm couldn't the problem with the email-field be, that the user is hiding his mailadress? I wanted to test this, but it seems that in vB3 the mailaddress is hidden by default, I couldn't find an option in my profile settings like it was in vB 2 for this... To the admincp-fix: the login works, but I'm still always redirected to the forum's home after it :/ PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|