Customizing SMF > Modifications and Packages
SMF Links (3.0.1 Released with SMF 2.0.x and SMF 1.1.x Support!)
vbgamer45:
That should have been it hmm.
Inti31:
here is a little tweak for 2.x - i like a welcome message - like i did for the Download System
find in Links2.template.php
--- Code: --- // No category found show the links index
echo '
<table class="table_list">
<tbody class="header">
<tr class="catbg">
<td align="center"><div class="cat_bar">
<h3 class="catbg">', $txt['smflinks_indextitle'], '</h3>
</div></td>
</tr>
</tbody>
</table><br />
';
--- End code ---
ADD AFTER
--- Code: --- echo '<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
', $txt['links_text_welcome'], '
</td>
</tr>';
echo '</table><br /><br />';
--- End code ---
Then add in Linkslanguage(-utf8).php
--- Code: ---$txt['links_text_welcome'] = '<br /><center>Welcome to Link System!</center>
--- End code ---
it look like that: http://alt.epica-forum.de/index.php?action=links
cheers inti31
BaghdadGhost:
--- Quote from: vbgamer45 on May 21, 2012, 03:17:23 PM ---That should have been it hmm.
--- End quote ---
thanks I will try again
should I change all 4 tables or just the ones you mentioned?
BaghdadGhost:
VB,
I just checked and found out that the link table and link_cat table are already utf8_general_ci
the other two tables are latin1_swedish_ci
I tried to create new cat then new link and all information in Arabic (cat name, link name and link description) came as question marks!
could you help me here?
thanks
Inti31:
hi there - i implemented it now to my epica-forum.de (http://epica-forum.de/index.php?action=links) - works fine
one thing - it seems, the description text (which I use sometimes for banners is limited to x characters... - how do I get it increased - I need some more... - not much, guess need 20 charactors more
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version