This will display a table on on your index page listing the newest added items from the mmstore.
You can adjust how many items to display in the adminCP under mmstore settings > forumhome items. Use a 0 to disable the table completely.
Instructions also found in the text file.
Install Time: about 5 minutes at most
Difficulty: Moderate (Requires 1 sql query to be run before installation)
Sql Queries to add: 1
Template Edits: 2
File Edits: 0
Files to upload via FTP: 1
Plugin Imports: 1
Install Instructions:
Execute this SQL query:
------------------------
ALTER TABLE `mmstore_settings` ADD `forumhomeitems` INT( 11 ) DEFAULT '0' NOT NULL ;
Upload the Plugin:
------------------
Upload the xml file through the AdminCP under Upload a Plugin and select mmstore_forumhomeitems.xml from your PC.
Upload the new mmstore_admin.php file to your server:
-----------------------------------------------------
Upload the mmstore_admin.php file to your /admincp folder and overwrite the original file.
Add the following new template:
-------------------------------
Template name: mmstore_new_items_forumhome
Code:
<td class="alt1" colspan="5" align="center" width="5%"><a
href="mmstore.php?do=viewitemid&itemid={$mmstorenewitems[itemid]}">$mmstorenewitems[itemname]</a><br>Price
$mmstoresettings[paysymble]$mmstorenewitems[price]<br><a href="$mmstorenewitems[itemimage]" target=_blank><img
src="$mmstorenewitems[itemimage]" width="50" height="50" align="center"></td>
Edit FORUMHOME > FORUMHOME Template:
------------------------------------
Place this code wherever you'd like the table to be displayed.
Code:
<if condition="$mmstoresettings['forumhomeitems'] > 0">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"
align="center">
<tr>
<td colspan="100%" class="tcat" $catbgcode><a style="float:$stylevar[right]" href="#top" onclick="return
toggle_collapse('mmstore_new_items_forumhome')"><img id="collapseimg_mmstore_new_items_forumhome"
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a><b><a
href="mmstore.php">Neue Arktikel im Probetreff Shop</a></b></td>
</tr>
<tbody id="collapseobj_mmstore_new_items_forumhome" style="$vbcollapse[collapseobj_mmstore_new_items_forumhome]">
<tr>$shownewitems</tr>
</tbody>
</table>
<br />
</if>
Finished!
Credit for the hack goes to micheal332001.
3.5.4 Hack >
https://vborg.vbsupport.ru/showthread.php?t=120100
3.6.0 Beta3 >
https://vborg.vbsupport.ru/showthread.php?t=120143