The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Module CMPS: Add vBGallery Image comments Details »» | |||||||||||||||||||||||||||
Module CMPS: Add vBGallery Image comments
Developer Last Online: Jan 2020
/* -----------------4/19/2006 12:41PM -----------------
Add Gallery Image comments to CMPS Block Tested on:
DEMO - ? Recent Gallery Comments
1 query added to CMPS page --------------------------------------------------*/ Show Your Support
|
Comments |
#12
|
|||
|
|||
Quote:
|
#13
|
||||
|
||||
Added:
- functions_gallery_store.php This method works for PHP4x , 5x. I have tested this and it works. This will "globalize" the needed $phrasegroup and $specialtemplates with 1 file edit so no other file edits are needed on hacks that need the gallery's: - $phrasegroups - $specialtemplates -------------------------------- * This will add all the needed file edits for gallery add-ons. * This will work on ALL VB powered pages * This will work on vBAdvanced CMPS pages * This will work on vPortal pages and Blocks * This only needs to be done once - I will update any hack I create with this method. The file will be with every hack until a standard can be added to the main build. http://www.photopost.com/forum/showthread.php?t=123315 |
#14
|
|||
|
|||
just wondering if this can be used to rate pictures... like hot or not, or if you know of something that can be installed to be used with vb3.6, that will have same functions...
i tryed i-rater, but... really need to know what your doing to try and incorporate with vb. over my head |
#15
|
|||
|
|||
Hi Zach; we need to exclude one or two categories.
Possible? Thanks! |
#16
|
||||
|
||||
Quote:
- forums/modules/vbg_comments.php Add Bold: Code:
$getposts = $db->query(" SELECT posts.title, posts.userid, posts.username, posts.dateline, posts.pagetext, posts.imageid, posts.visible, posts.allowsmilie, posts.iconid, posts.showsignature, posts.ipaddress, images.userid as imageuserid, images.filename,images.extension, images.height, images.width, images.thumbname FROM " . TABLE_PREFIX . "adv_gallery_posts as posts LEFT JOIN " . TABLE_PREFIX . "adv_gallery_images AS images ON (images.imageid = posts.imageid) WHERE images.catid NOT IN (6,7,8,9) ORDER BY dateline DESC LIMIT " . $vba_options[comments_block_count] ); |
#17
|
|||
|
|||
Thanks, Zach. This was the half step!:-)
It excludes the picture but not the comment. Any idea? |
#18
|
|||
|
|||
Zach? Any idea?
|
#19
|
||||
|
||||
|
#20
|
|||
|
|||
|
#21
|
||||
|
||||
hi, i went to install and i got this error after i added the line :
require_once(CWD . '/includes/functions_gallery_store.php'); to the required place on init.php under : require_once(CWD . '/includes/class_core.php'); error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Active Graffiti Picture Gallery. Only the BEST Artists Accepted, 100% Quality. Database Error</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <style type="text/css"> <!-- blockquote { margin-top: 75px; } p { font: 11px tahoma, verdana, arial, sans-serif; } --> </style> </head> <body> <blockquote> <blockquote> <p><strong>There seems to have been a problem with the Active Graffiti Picture Gallery. Only the BEST Artists Accepted, 100% Quality. database.</strong><br /> Please try again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</p> <p>An E-Mail has been dispatched to our <a href="<A href="mailtog@puregraffiti.com">Technical">mailt og@puregraffiti.com">Technical Staff</a>, whom you can also contact if the problem persists.</p> <p>We apologise for any inconvenience.</p> <!-- Database error in vBulletin 3.5.4: Invalid SQL: SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, language.phrasegroup_holiday AS phrasegroup_holiday, language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery, language.phrasegroup_global AS phrasegroup_global, language.options AS lang_options, language.languagecode AS lang_code, language.charset AS lang_charset, language.locale AS lang_locale, language.imagesoverride AS lang_imagesoverride, language.dateoverride AS lang_dateoverride, language.timeoverride AS lang_timeoverride, language.registereddateoverride AS lang_registereddateoverride, language.calformat1override AS lang_calformat1override, language.calformat2override AS lang_calformat2override, language.logdateoverride AS lang_logdateoverride, language.decimalsep AS lang_decimalsep, language.thousandsep AS lang_thousandsep FROM user AS user LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid) LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid)) WHERE user.userid = 1; MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list' Error Number : 1054 Date : Sunday, January 28th 2007 @ 05:21:49 AM Script : http://www.puregraffiti.com/graffiti-space/index.php Referrer : http://www.puregraffiti.com/graffiti...ex.php?do=head IP Address : 201.9.197.133 Username : Classname : vb_database --> </blockquote> </blockquote> </body> </html> i removed the line, and the error disapeared. the files are currently both uploaded the the correct locations and I await instructions on why im receiving this database error. thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|