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

Farmacija

for other people, this code you should paste in your modifications.yourlanguage,php file
//Begin SMF Links Text Strings
$txt['smflinks_menu'] = 'Links';
$txt['smflinks_admin'] = 'Links Configuration';


$txt['permissiongroup_smflinks'] = 'SMF Links';
$txt['permissionname_view_smflinks'] = 'View Links Page';
$txt['permissionhelp_view_smflinks'] = 'Sets if the user can view the links page.';
$txt['cannot_view_smflinks'] = 'You can not view the links page.';
$txt['permissionname_add_links'] = 'Add Links';
$txt['permissionhelp_add_links'] = 'If the user is allowed to submit links';
$txt['cannot_add_links'] = 'You can not add links.';
$txt['permissionname_edit_links'] = 'Edit Links';
$txt['permissionhelp_edit_links'] = 'If the user is allowed to edit links';
$txt['cannot_edit_links'] = 'You can not edit links.';
$txt['permissionname_delete_links'] = 'Delete Links';
$txt['permissionhelp_delete_links'] = 'If the user is allowed to delete links';
$txt['cannot_delete_links'] = 'You can not delete links.';
$txt['permissionname_approve_links'] = 'Approve Links';
$txt['permissionhelp_approve_links'] = 'If the user is allowed to approve links';
$txt['cannot_approve_links'] = 'You can not approve links.';
$txt['permissionname_links_auto_approve'] = 'Links Auto Approved';
$txt['permissionhelp_links_auto_approve'] = 'If the users links are auto approved when submitted.';
$txt['permissionname_rate_links'] = 'Rate Links';
$txt['permissionhelp_rate_links'] = 'If the user is allowed to rate links';
$txt['cannot_rate_links'] = 'You are not allowed to rate links.';
$txt['permissionname_links_manage_cat'] = 'Manage Categories';
$txt['permissionhelp_links_manage_cat'] = 'User can add/remove/edit/reorder categories';
$txt['cannot_links_manage_cat'] = 'You are not allowed to manage categories.';
//END SMF Links Strings
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Tick

ok I have the text links up on my row of buttons but it doesnt look like a button it just says links why is that/

drhamad

FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Tick

how do I add that.  Please excuse my ignorance I am new to this

drhamad

Quote from: Buddha480 on February 06, 2007, 03:44:06 PM
how do I add that.  Please excuse my ignorance I am new to this

That's just what it sounds like... but I'm not sure I'm thinking of the same thing you are.

Link me to your forum, let me see.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

drhamad

OK yeah, I'm now 99% sure you're missing a graphic.  As I said in PM:
My initial guess was right.  You're using a nonstandard theme, you need to create a graphic for the button.  The standard theme doesn't use graphics, it creates the buttons in HTML.  Hence the problem.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

mrselnombre

(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

vbgamer45

No too busy to work on that.
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

mrselnombre

oh, will it be removed in the next update then?
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

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

chep

#170
It would be sweet if you could do a search on the links. I have a lot under one particular subject.

mrselnombre

Quote from: vbgamer45 on February 17, 2007, 05:45:33 PM
No just won't work.
can you give me a hint as to how i can remove it or fix it... rather pointless it being there if it won't ever work.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

vbgamer45

Its turned off by defult. If you have in the settings checked alexa and pagerank then just uncheck them.
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

winterlok

Can anyone please tell me what the file for the links is called (or where it can be found) so that I can link it in my header?

Thank you!

mrselnombre

Quote from: vbgamer45 on February 18, 2007, 11:16:30 AM
Its turned off by defult. If you have in the settings checked alexa and pagerank then just uncheck them.
i stripped it out completely.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

hotjunkie

Really nice mod,thank you. ;)

DeviantMetal

#176
would someone be able to tell me which file(s) I would need to edit in order to have some text added underneath the main links page, basically, I want it to have a small set of instructions, ie "Reciprocal Links Only. All links are checked within 24 - 48 hours to ensure they have been linked...etc"  and be able to make that only visible to members and not guests(the instructions)?

vbgamer45

Links.template.php
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

tsmalmbe

First: thanks for your effoerts, this is a great mod.

Now, I am missing a few things though. Willing to do the stuff myself, but of course I need a few pointers.

Issue 1: I have categories -> subcategories -> subsubcategories. WHen I view the initial links-page, I see a list of categories and a count of links inside those categories. Now, all my links are either in the subcategories or the subsubcategories. Now all my users are thinking that the linksystem is totelly empty, because the inital page shows 0 links. This is probably just a change in an SQL-query, right? What file, and where should I start looking at this?

Issue 2: The navigation path is not working. I expect it to look like:
Links>>category>>subcategory>>subsubcategory
but now it looks like
Links>>subsubcategory (when I'm in a subsubcategory). Where is this generated, and what would your suggestion be to fix this?

Of course we can also make a deal: if you fix this for me, I can offer you swedish translation - BUT, I'm willing to do the coding myself also for these issues, as long as you provide some commentary first.
..:: http://www.kontrollrummet.com - Studio och musik ::.. RSS?

paster_cobra

can some one please fix his for me link button still not showing on nav

if ($context['current_action'] == 'smflinks')
      $current_action = 'smflinks';



// the [links] button
   if ($context['allow_view_smflinks'])
      echo ($current_action == 'links' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'links' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=links">' , $txt['smflinks_menu']  , '</a>
            </td>' , $current_action == 'links' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Advertisement: