The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mary's Classifieds Details »» | ||||||||||||||||||||||||||
-----Not available any more------ *** VERY IMPORTANT NOTICE *** By downloading and installing the new version 5.0.3, you automatically accept the following restrictions in use, which have been approved as legal from the Administrator Team of vB.org.
With 100+ support pages, its impossible for me to follow the posts her. That's why I opened in my site:I'll appreciate your understanding on the fact that this is a Free product, so don't expect superior level support, but I'll try my best with the help of Bug Tracker. Also note that even if you can suggest new features, these features will be include in the upcoming CMPS style version which will be Commercial. No plans exist for adding new features in the Free version. Just bug fixes. --------------------------------------------------------------------------- NEW VERSION 6.6.0 There are many new features to this version to list them now. Spend sometime to explore the new mod and you'll find them. The only that I want to mention is that the SEO rules that I've, are normal rules and not vbSeo rules. How to upgrade:
Chris 1.- How it works
This version fixes all posted bugs and corrects any styling issued by using external css files (microclassifieds/includes/classifieds.css). It also replace the inline blocks (Buy Now etc) with modal popup windows. 7.- Upgrade to ver.4.9.5
9.- Upgrade to ver.4.9.5a
11.- Upgrade to ver.4.9.5a
Quote:
Show Your Support
|
21 благодарности(ей) от: | ||
Adrijan, BCP Hung, Bram H, BWJ, cherylferraro, fwulfers, GhoHan, HoSStiA, K4GAP, klaush, maineGuy72, Max Paint, nacaruncr, principino1984, sadiq6210, Sayid, shadowfax3, stationar, victorvu, warringtonpl, weexto |
Comments |
#382
|
|||
|
|||
Please connect with phpMyAdmin to your database. In the main page, right side you'll see a block "MySQL". Somewhere there is saying the database character set. What it's says there?
|
#383
|
|||
|
|||
MySQL: UTF-8 Unicode (utf8)
|
#384
|
|||
|
|||
What confuses me is that categories appear in Greek. Do you have locations as input or as droplist? If its input, then I need to check for inputs only.
|
#385
|
|||
|
|||
i have locations as input
I did check on all ads. is ok. The problem remains |
#386
|
||||
|
||||
I'm getting this error on the main page
Warning: Division by zero in [path]/microclassifieds/includes/functions.php on line 586 |
#387
|
|||
|
|||
Quote:
|
#388
|
||||
|
||||
Any idea why the vote iframe shows "page not found", or why I can't post premium ads?
|
#389
|
||||
|
||||
for random items with no photo i came up with this fix. its not the cleanest code but it works
it will display nophotosmall.jpg image for an ad with no photo assigned to it find Code:
$html_random .= '<tr valign="top"><td width="90" align="left"> <a href="classifieds.php?do=viewitem&itemid='.$random["id"].'"> <img src="'.$thumb.'" border="0" /></a></td> <td align="left"><h4><a href="classifieds.php?do=viewitem&itemid='.$random["id"].'">'.$title.'</a> </h4>'.$price.' '.$vbulletin->options["microclassifieds_currency"].'</td></tr>'; Code:
$ad_photo = $random["logo"]; if(empty($ad_photo)) { $html_random .= '<tr valign="top"><td width="90" align="left"> <a href="classifieds.php?do=viewitem&itemid='.$random["id"].'"> <img border="0" src="microclassifieds/images/nophotosmall.png" width="50" align="left" style="padding:3px;"> <td align="left"><h4><a href="classifieds.php?do=viewitem&itemid='.$random["id"].'">'.$title.'</a> </h4>'.$price.' '.$vbulletin->options["microclassifieds_currency"].'</td></tr>'; } else { $html_random .= '<tr valign="top"><td width="90" align="left"> <a href="classifieds.php?do=viewitem&itemid='.$random["id"].'"> <img src="'.$thumb.'" border="0" /></a></td> <td align="left"><h4><a href="classifieds.php?do=viewitem&itemid='.$random["id"].'">'.$title.'</a> </h4>'.$price.' '.$vbulletin->options["microclassifieds_currency"].'</td></tr>'; } |
#390
|
|||
|
|||
Try to replace the whole function getRandom($catid) in functions.php with this code:
Code:
// Get Random Items function getRandom($catid) { global $db, $vbulletin, $vbphrase, $random_items, $random_items_bit, $catid; if (empty($catid)) { $catid = 0; } $maximum_random = $vbulletin->options["microclassifieds_random_items"]; $SubIds = array(); $getSub = _getChildId($SubIds, $catid); $browsecategories = implode($SubIds, ', '); $sql_random = $db->query_read("SELECT * FROM ".TABLE_PREFIX."microclassifieds_items WHERE categoryid IN ($browsecategories) AND logo<>'' AND active=1 AND sold=0 AND hidden=0 ORDER BY rand() LIMIT $maximum_random"); $total_random = $db->num_rows($sql_random); if($total_random == 0) { $sql_random = $db->query_read("SELECT * FROM ".TABLE_PREFIX."microclassifieds_items WHERE logo<>'' AND active=1 AND sold=0 AND hidden=0 ORDER BY rand() LIMIT $maximum_random"); } $i = 0; $html_random = ''; $thumb_path = 'microclassifieds/photos/thumbs/'; while($random = $db->fetch_array($sql_random)) { if($i%2!='0') { $html_random .= '<tr><td height="35"> </td></tr>'; } if($i >= 2) { $html_random .= '</table></li><li><table cellpadding="3" cellspacing="0" border="0" width="100%">'; $i = 0; } $i++; $title = getTitle($random['title']); $thumb = $thumb_path.$random['logo']; $price = getFormatPrice($random['price']); $html_random .= '<tr valign="top"><td width="90" align="left"> <a href="classifieds.php?do=viewitem&itemid='.$random["id"].'"> <img src="'.$thumb.'" border="0" /></a></td> <td align="left"><h4><a href="classifieds.php?do=viewitem&itemid='.$random["id"].'">'.$title.'</a> </h4>'.$price.' '.$vbulletin->options["microclassifieds_currency"].'</td></tr>'; } $templater = vB_Template::create('microclassifieds_random_items'); $templater->register('html_random', $html_random); $random_items .= $templater->render(); return; }
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|