CMPS Module: Contributors
This modification is in the archives.
/* ---------------------------------------------------
This is a Module for CMPS to place Contributors in a block. :alien: Hope it helps !!! Zack - http://www.gzhq.net NEEDED To Install: vBadvanced CMPS vBadvanced CMPS (Content Management & Portal System) Coded by: Tigga Mark User as Contributor [vB3] Mark User as Contributor Coded by: assassingod Original: MarkB === Display page for all Contributors ====== This is a display page. (contributors.php) Spoiler (click to open)
Contributor Page:
Upload contributors.php and upload it to your forums root directory Add the template 'CONTRIBUTORS' Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - $vbphrase[contribs]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>$vbphrase[contribs] </td> </tr> </thead> <tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]"> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]"> <fieldset class="fieldset"> <legend>$vbphrase[contribs]</legend> <div style="padding:$stylevar[formspacer]px"> <div>$contrib_bit</div> </div> </fieldset> </div> </div> </td> </tr> </tbody> </table> $footer </body> </html> Code:
<a href="member.php?$session[sessionurl]userid=$contributors[userid]">$contributors[username]</a> <br /> Find: Code:
<a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> Code:
<a href="contributors.php">Contributors</a> -
Close
I did some personal Mods my self: Spoiler (click to open)
Quote by Boofo
Template: CONTRIBUTORS (in this template is Yoursite.com and email) *fill in your info. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - Contributors</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>$vbphrase[contribs] </td> </tr> </thead> <tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]"> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]"> <fieldset class="fieldset"> <legend>$vbphrase[contribs]</legend> <div style="padding:$stylevar[formspacer]px"> <div><p align="center">Yoursite.com would like to extend its thanks to the following individuals who have helped us pay back some of our debts and expenses over the years. Yoursite.com is currently fueled only by such notable individuals at those that follow, and it is they who help us keep this site online. If you are interested in donating to Yoursite.com, please use Paypal and this <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&email&item_name=Donation%20to%20Yoursite.com&item_number=Donation&no_shipping=1">link</A>. <br> <br> <b><font size="5">The People Making Yoursite.com Possible</font></b></p></div> <div><center>$contrib_bit</center><br></div> </div> </fieldset> </div> </div> </td> </tr> </tbody> </table> $footer </body> </html> Code:
<a target="_blank" href="member.php?$session[sessionurl]userid=$contributors[userid]">$contributors[username]</a> <br /> Code:
<img border="0" src="$stylevar[imgdir_misc]/donate.gif" alt="Yoursite.com Contributors !!!" width="16" height="16"> Contributors VBroot/images/misc Close
--------------------------------------------------*/ 11.24.04 - Fixed the code to remove 2 extra queries from uncached templates. (edit global.php) Added ".TABLE_PREFIX." to the contrib.php placed in the Moduel folder. Edit global.php find: Code:
'adv_portal', Code:
'contrib_bit', 'adv_portal_contrib', 9.13.04 - requested - post 14 Added option for desired number of users to display on block and a link in template to full user list. Upgrade: replace contrib.php file and adv_portal_contrib template. 7.22.04 Fixed - missing template Download No files for download. Screenshots
|