Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #1  
Old 12th September 2008, 15:07
TheLord TheLord is offline
Member
 
Join Date: Aug 2008
Posts: 5
Smile [TSSE 5.1] Smiles BBCODE
hope u like this lol kk here we go iv not been able to get it to run on my site but if u can plze leave haw u did it thnx folow what this next bit says :)

Terms of Agreement to be used with this before user is allowed to access Smilie Gallery. This would be better if added on shoutbox as a popup but linking to this file first as such and the smile_terms.php is linked to the readme file

PHP Code:
<a href="#" onclick="window.open(''.$BASEURL.'/smile_terms.php?popupsmilies=yes','smilies','toolbar=no, scrollbars=yes, resizable=no, width=900, height=600, top=250, left=250'); return false;">[SMILIES]</a
Now to track who has agreed with terms and who has not add this to userdetails.php

Add this at the top:

PHP Code:
$lang->load('tsse_mods'); 
find this:
PHP Code:
print("<tr><td class='rowhead' width='20%'>".$lang->userdetails['refed_by']."</td><td align='left' width='80%'><a href=userdetails.php?id=".$user['referrer'].">".get_user_color($ref_name['username'], $ref_name['namestyle'])."</a></td></tr>n");

add this under it
PHP Code:
if ($user["smilieterms"] == 'yes')
{
print(
"<tr><td class=rowhead width=1%>".$lang->tsse_mods['smilieterms']."</td><td align=left width=99%>".sprintf($lang->tsse_mods['smilietermsyes'], $user['id'])."</td>n");
}
else
{
print(
"<tr><td class=rowhead width=1%>".$lang->tsse_mods['smilieterms']."</td><td align=left width=99%>".sprintf($lang->tsse_mods['smilietermsno'], $user['id'])."</td>n");

Now find this in userdetails.php
PHP Code:
stdhead(sprintf($lang->userdetails['head'], $user['username']), true'ps');

include_once(
INC_PATH.'/functions_icons.php');
$usericon get_user_icons($user); 
and add it like this
PHP Code:
stdhead(sprintf($lang->userdetails['head'], $user['username']), true, 'ps');

?>
<script type="text/javascript<b></b>:" src="<?=$BASEURL;?>/scripts/tooltip.js"></script>
<?

include_once(INC_PATH.'/functions_icons.php');
$usericon get_user_icons($user);
find this line in shoutbox.php
PHP Code:
<input type="button" value="'.strtolower($lang->global['smilies']).'" onclick="show_smilies()" class="btn"
add this line below it

PHP Code:
<input type="button" value="'.strtolower($lang->index['smilies']).'" onclick="window.open(\''.$BASEURL.'/smile_terms.php\',\'Smilies\',\'toolbar=no, scrollbars=yes, resizable=no, width=950, height=800, top=250, left=250\'); return false;" class="btn">
also add new language line to your index.lang.php file:
'smilies'=>'smilieadd',//Mod Added 
Attached Files
File Type: zip smilie_mod_ts_42.zip (36.7 KB, 148 views)

Last edited by Krypto; 20th October 2008 at 12:38. Reason: Put in code tags
Reply With Quote
The Following User Says Thank You to TheLord For This Useful Post:
zenja7777 (13th September 2008)
  #2  
Old 13th September 2008, 13:17
zenja7777 zenja7777 is offline
Senior Member
 
Join Date: Jul 2008
Posts: 47
Question
And for TS v 5 1 this approaches fashions???

And for TS v 5 1 can such make fashions please

Last edited by zenja7777; 13th September 2008 at 13:22.
Reply With Quote
  #3  
Old 20th October 2008, 12:34
RikT RikT is offline
Senior Member
 
Join Date: Sep 2008
Posts: 34
Default
I cant get this working just keep getting blank box
Reply With Quote
  #4  
Old 11th February 2009, 21:24
fireman fireman is offline
IonCube-R
 
Join Date: Oct 2008
Posts: 99
Exclamation
Does anyone know how to get this to work?
Reply With Quote
  #5  
Old 11th February 2009, 23:02
Joshua Joshua is offline
Senior Member
 
Join Date: Oct 2008
Posts: 23
Default
Visit .::: COMIC TORRENT TRACKER :::. :: Dobrodosli na .::: COMIC TORRENT TRACKER :::. and see
Reply With Quote
  #6  
Old 12th February 2009, 00:45
fireman fireman is offline
IonCube-R
 
Join Date: Oct 2008
Posts: 99
Thumbs up
can u post the mod with all fixes on here
Reply With Quote
Reply

Tags
51 , bbcode , smiles , tsse

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BBCODE Issue TSSE 5.6 hero34 Template Shares 5 16th February 2010 00:55
How I Do Custom Bbcode? IEmRaHI Template Shares 0 23rd January 2010 12:48
Custom BBCODE - Possible, but how? informatic Template Shares 4 22nd July 2009 12:31
BBcode not working -tsse 5.6 Lazarevics Template Shares 4 8th June 2009 23:28
How can i edit the BBcode editor? Which file? allemand1 Yuna Scatari Edition (YSE) 3 13th October 2008 15:59



All times are GMT +2. The time now is 18:01. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.