News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Links

Started by SMFHacks.com Team, July 12, 2006, 12:33:28 AM

Previous topic - Next topic

Matthew K.

Going to have an update out for this modification shortly :)

BaghdadGhost

Quote from: vbgamer45 on December 19, 2010, 07:13:02 AM
The links table and links cat table using phpmyadmin under the operations tab

Hi VB,

I installed the mod without any errors. when I tried to apply your fix I changed all smf links 4 tables to utf8_general_ci but it did not work. I changed only the one you mentioned and it also did not work. when I create a category and give it an Arabic name all I get is ? ? ? ? ? ? instead?

I also noticed when I deleted this category I get this message

Fatal error: Function name must be a string in /Sources/Links2.php on line 507

I thought that it could be related to the name if category being just question marks. so I changed the name to english letters and tried to delete it but it gave me the same error.

please help

thanks

SMFHacks.com Team

Update!

2.5.1
+Better support for utf8 data for links/categories
!Fixed bug with deleting categories
!Fixed catpermission bug smf 2.0
!Fixed session check in save settings
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Inti31

Also thx for that update - the session conflict now moved to the link section. :(
A link ist automatical approved - if I want to withdraw that link - here is now the session conflict

Tried that also as a logged normal member - the message appear that I should log out and in again.

http://alt.epica-forum.de/index.php?action=links

It is in german, also I used pics for the option like Delete, Edit, ... - because I want that nice Linksystem also for banners - so I need the space...

you could try it if you want: Test / 12345678

cheers Inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

vbgamer45

Quote from: Inti31 on May 21, 2012, 10:28:14 AM
Also thx for that update - the session conflict now moved to the link section. :(
A link ist automatical approved - if I want to withdraw that link - here is now the session conflict

Tried that also as a logged normal member - the message appear that I should log out and in again.

http://alt.epica-forum.de/index.php?action=links

It is in german, also I used pics for the option like Delete, Edit, ... - because I want that nice Linksystem also for banners - so I need the space...

you could try it if you want: Test / 12345678

cheers Inti31

The only issue is unapproving links  is that correct?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Inti31

yep, that's right - this is the only error I found
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

SMFHacks.com Team

Quote from: Inti31 on May 21, 2012, 11:43:40 AM
yep, that's right - this is the only error I found
Hopefully fixed now released an update.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Inti31

you've done it - i tested 2.5.2 - the error is gone! Good job! I am glad to help out in this matter... - just informing you about this little bug.

http://alt.epica-forum.de/index.php?action=links

cheers Inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

BaghdadGhost

Hi VB,

I installed the mod without any errors. when I tried to apply your fix I changed all smf links 4 tables to utf8_general_ci but it did not work. I changed only the one you mentioned and it also did not work. when I create a category and give it an Arabic name all I get is ? ? ? ? ? ? instead?


vbgamer45

Quote from: BaghdadGhost on May 21, 2012, 02:53:15 PM
Hi VB,

I installed the mod without any errors. when I tried to apply your fix I changed all smf links 4 tables to utf8_general_ci but it did not work. I changed only the one you mentioned and it also did not work. when I create a category and give it an Arabic name all I get is ? ? ? ? ? ? instead?


Did you try the update i posted today.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

BaghdadGhost

yes I did.

did what I do with the tables was correct or I have to do something else?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

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

// 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 />

';


ADD AFTER

echo '<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
', $txt['links_text_welcome'], '
</td>
</tr>';
echo '</table><br /><br />';


Then add in Linkslanguage(-utf8).php
$txt['links_text_welcome'] = '<br /><center>Welcome to Link System!</center>

it look like that: http://alt.epica-forum.de/index.php?action=links

cheers inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

BaghdadGhost

Quote from: vbgamer45 on May 21, 2012, 03:17:23 PM
That should have been it hmm.

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
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

vbgamer45

change the description database field column to text instead of tinytext
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Inti31

Thx - done it - i also changed the latin1_swedish to utf8_general_ci - now the entered text is shown as entered.

cheers inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Advertisement: