Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[UberCMS] Tag Add On
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 271032" data-attributes="member: 36373"><p>Working Tag Add-On <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /> Here you go:</p><p></p><p><strong>How to add:</strong></p><p>- Make a new boxtag.tpl file</p><p>- Copy and paste this into your tpl file</p><p>- Go to your me.php</p><p>- Find the center column (under the main me page part)</p><p>- Put $tpl->AddGeneric('tagbox');</p><p>[CODE]<?php</p><p>$user = dbquery("SELECT * FROM users WHERE id = '" . USER_ID . "'");</p><p>$userAccount = mysql_fetch_assoc($user);</p><p>?></p><p><div class="habblet-container "> </p><p> <div class="cbb clearfix pixellightblue "></p><p> <h2 class="title">Add Tags!</h2></p><p> <div class="box-content"></p><p> </p><p> <?php</p><p> if(isset($_POST['tag']))</p><p>{</p><p> $tag = filter($_POST['tag']);</p><p></p><p> if(strlen($tag) < 1 || strlen($tag) > 10)</p><p> {</p><p> echo '<center><div class="rounded rounded-red"><strong>The Tag must be between 1 - 10 characters.</strong></div></center>';</p><p> }else</p><p> {</p><p> dbquery("INSERT INTO user_tags (user_id,tag) VALUES ('".USER_ID."','".$tag."')");</p><p> echo '<center><div class="rounded rounded-green"><strong>Tag Added!</strong></div></center>';</p><p> }</p><p> }</p><p> ?></p><p> </p><p> <div style="text-align: left;"></p><p> <div style="padding:5px"><center></p><p> <form name="form" action="" method="post"></p><p> <span title="tag">Enter Tag: </span><br /></p><p> <input type="text" name="tag" /><br /><br /></p><p> <input type="submit" value="Add Tag" class="submit"></center></p><p> </form></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p></div></p><p></div></p><p></div></div></p><p></div>[/CODE]</p><p></p><p>Small little add on for ubercms, this is what it looks like:</p><p><img src="http://i.imgur.com/7evP2JR.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Tag Too Long or short:</p><p><img src="http://i.imgur.com/RbPYW3X.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>Successfully Added:</p><p><img src="http://i.imgur.com/zeQFWcp.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="JayC, post: 271032, member: 36373"] Working Tag Add-On :) Here you go: [B]How to add:[/B] - Make a new boxtag.tpl file - Copy and paste this into your tpl file - Go to your me.php - Find the center column (under the main me page part) - Put $tpl->AddGeneric('tagbox'); [CODE]<?php $user = dbquery("SELECT * FROM users WHERE id = '" . USER_ID . "'"); $userAccount = mysql_fetch_assoc($user); ?> <div class="habblet-container "> <div class="cbb clearfix pixellightblue "> <h2 class="title">Add Tags!</h2> <div class="box-content"> <?php if(isset($_POST['tag'])) { $tag = filter($_POST['tag']); if(strlen($tag) < 1 || strlen($tag) > 10) { echo '<center><div class="rounded rounded-red"><strong>The Tag must be between 1 - 10 characters.</strong></div></center>'; }else { dbquery("INSERT INTO user_tags (user_id,tag) VALUES ('".USER_ID."','".$tag."')"); echo '<center><div class="rounded rounded-green"><strong>Tag Added!</strong></div></center>'; } } ?> <div style="text-align: left;"> <div style="padding:5px"><center> <form name="form" action="" method="post"> <span title="tag">Enter Tag: </span><br /> <input type="text" name="tag" /><br /><br /> <input type="submit" value="Add Tag" class="submit"></center> </form> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </div> </div></div> </div>[/CODE] Small little add on for ubercms, this is what it looks like: [IMG]http://i.imgur.com/7evP2JR.png[/IMG] Tag Too Long or short: [IMG]http://i.imgur.com/RbPYW3X.png[/IMG] Successfully Added: [IMG]http://i.imgur.com/zeQFWcp.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[UberCMS] Tag Add On
Top