Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 26, 2013, 04:20:46 am

Login with username, password and session length
Members
Total Members: 10771
Latest: Siphix
Stats
Total Posts: 32417
Total Topics: 5484
Online Today: 37
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 28
Total: 28
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 ... 12 13 [14] 15 16 ... 24 Go Down Print
Author Topic: SMF Links  (Read 220533 times)
mdshare
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #195 on: April 02, 2007, 01:32:57 pm »

didn't had time yet to focus on the rest

and about alexa... doubtfull they will block IPs but can always be

A next part at your code should be adding a cronjob so that the alexa/gogle/etc ranks get once a day updated.

Logged

lettiehatter
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #196 on: April 07, 2007, 12:09:24 am »

I guess I suck at installing or something because I'm having a few problems. I downloaded the mod and uploaded the zip file using the admin panel. I'm using the default theme.

1. Permissions page - check boxes with no text telling what they're for.

I saw someone else had this problem, so I checked my 'modifications.english.php' but it already has the code for the descriptions. Is there another file I should check?

2. There's no menu link.

I also saw this problem posted here, so I checked 'index.template.php' but it looks like it has the code for a menu link.

I'm really confused. I don't know what I've done wrong. I'm not very good at this code stuff. Any help would be appreciated.

EDIT: forgot to mention I'm using ver 1.1.2
« Last Edit: April 07, 2007, 12:28:52 am by lettiehatter » Logged
baggy
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #197 on: April 15, 2007, 10:47:32 am »

i hav set up links so that all members and guests can view them,
but wen anyone except me tries to view the links, they get the message, "Error has occured"
Logged
jayc
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #198 on: April 21, 2007, 04:17:53 pm »

I guess I suck at installing or something because I'm having a few problems. I downloaded the mod and uploaded the zip file using the admin panel. I'm using the default theme.

1. Permissions page - check boxes with no text telling what they're for.

I saw someone else had this problem, so I checked my 'modifications.english.php' but it already has the code for the descriptions. Is there another file I should check?

2. There's no menu link.

I also saw this problem posted here, so I checked 'index.template.php' but it looks like it has the code for a menu link.

I'm really confused. I don't know what I've done wrong. I'm not very good at this code stuff. Any help would be appreciated.

EDIT: forgot to mention I'm using ver 1.1.2

I am also using 1.1.2 and have exactly the same problems, had the same problem when intalling Gallery Lite, but found a how2 for fixing it and followed it step by step (painfully) and was able to get it working.

Sad to say I forget to write things down and cannot find the how2 for gallery lite to attempt the same fix for Links, will have to stick to my outboard links page for a while longer.

If you ever get a responce please send me a copy

jayc@wyldeart.com

Edit  Cry

I either have way too much time on my hands, or I don't know when to quit, I came back this morning and was able to find the Gallery discussion at
http://www.smfhacks.com/index.php/topic,693.0.html

Continuing to tinker, unzipped the distribution locally and found simlar code for Links in:
links109.xml

After trying a couple of fixes that did not work I did a cut and paste of the following into my test site in the Modifications.english-utf8.php file for the default theme, and now it is apparently working.  Going to try going through the same steps for my production sites.

This is the second SMFHacks module that was supposed to be 1.1.2 compatable, and did not work out of the box, my suggestion would be for creation of a moderated FAQ forum for each of the modules available here to help out the guys like myself who really don't understand all this Magick stuff

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

 Tongue Re-Edit
Well the fix worked on the first of my prduction sites, except that, while I could now see the permissions text in the admin panel, and I could got to links from the browser by manually entering http://MyDomainName.com/SMF/index.php?action=links into the navigation bar, still no links button on the menu line. It is there on my test site, which is using the default theme, but not on the production site with a custom theme.

Fix for this was pretty easy;

I opened index.template.php for the custom theme, and did a seach for // the [SMF Gallery] button

I inserted the following code (which I found in the index.template.php for the default theme, just before the // the [SMF Gallery] button code.

Code:
// 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>' : '';

Remember you have to go to permissions in the Admin panel and set permissions for your user groups
« Last Edit: April 22, 2007, 03:26:00 pm by jayc » Logged
GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #199 on: April 22, 2007, 06:39:05 am »

i hav set up links so that all members and guests can view them,
but wen anyone except me tries to view the links, they get the message, "Error has occured"

I get the same thing baggy.

Whats going on with this. Nup. Not working on 1.1.2.

Report that mod
« Last Edit: April 22, 2007, 07:10:54 am by GameSocket » Logged

(\__/)
(O.o )   *If You need help, best not to ask me*
(> < )

GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #200 on: April 22, 2007, 05:19:39 pm »

Ok..Don't want to be mean, but I uninstalled this and installed the one from SMF Mod site and it installed clean.

Baggy.. you have to set board permissions in your admin for it to be available to guests and members
Logged

(\__/)
(O.o )   *If You need help, best not to ask me*
(> < )

Harro
Inline PM Customer
*****
Offline Offline

Posts: 3


View Profile
« Reply #201 on: May 07, 2007, 07:14:45 am »

What exactly is the newest version of this mod?
Been using it for quit some time on my forum without any problems.
But was curious if there are any updates.
According to the admin panel I'm running 1.6.3
IS there already a new version?
Also perhaps a good idea to put the version number in the package name.

And maybe a weird question. But would it be possible to install the mod more then 1 time on the forum?
Could use it for a couple things on my forum, but needs to be a seperate directory each time (and not a sperate category).


[edit]
Just took a look at package-info.xml and it seems that 1.6.3 is the newest version.
Shoul've looked at it before asking here Wink
But another question then: any news on the alexa en pagerank?
« Last Edit: May 07, 2007, 07:16:47 am by Harro » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #202 on: May 07, 2007, 07:22:44 am »

Alexa I could include if needed.
Remember that Alexa charges for each query. .15 cents for every 1000 queries.
Logged
Harro
Inline PM Customer
*****
Offline Offline

Posts: 3


View Profile
« Reply #203 on: May 07, 2007, 07:57:52 am »

Nevermind then  Tongue
And no plans to get that pagerank working then?
I'm currently modifying the template to suit my needs. And if there are no plans to add the pagerank I'll just remove that column in the template.

Just finished the modifications of the template file: http://www.forumaffiliates.net/links.html
Feel free to let me know what you think of it Smiley
« Last Edit: May 07, 2007, 03:59:32 pm by Harro » Logged
Kissmymutt
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #204 on: May 19, 2007, 10:56:29 am »

Hi there.. was anyone ever able to find a solution to this?  It's my only tiny issue.. otherwise I LOVE this mod..

In the Total Links column, it does not count the links within the categories contained within the category.

e.g. if my categories are

main1
   sub1

and if sub1 has 30 links in it, and there are no other links in the system- on the main page it says the total links in main1 is 0.

Is there any code I can insert to make it count the links in subcategories?

Thanks,

Matt
Logged
khvitaliy
Inline PM Customer
*****
Offline Offline

Posts: 3


View Profile
« Reply #205 on: May 31, 2007, 07:58:36 pm »

I had to install manually I have an access to smf links from control panel, but it's nowhere to be seen on the homepage. www.developprofit.com/money_forum

Thanks
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #206 on: May 31, 2007, 08:30:15 pm »

You will need to install it on the index.template.php of your custom theme.
Logged
jpb
Inline PM Customer
*****
Offline Offline

Posts: 10


View Profile
« Reply #207 on: June 05, 2007, 04:07:02 pm »

Version 1.5
Updated the mod to use language files

I installed SMF Links on SMF 1.1.2 / TP 0.9.8 / Delta-Theme / German. Because my language is German, I can't see most of the options. Can I download a German language file? Alternatively I would like to see the English words. How can I do it?

jpb
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #208 on: June 05, 2007, 06:44:18 pm »

Copy modifications.english.php to modifications.yourlanguage.php
Logged
jpb
Inline PM Customer
*****
Offline Offline

Posts: 10


View Profile
« Reply #209 on: June 06, 2007, 05:55:14 am »

I copied from Themes/default/language

index.template.php
links.template.php
Modifications.english.php (renamed to Modifications.german.php)

to Themes/Delta_11final_tp/language (my actual theme folder).

Is this right?

jpb
« Last Edit: June 06, 2007, 06:16:44 am by jpb » Logged
Pages: 1 ... 12 13 [14] 15 16 ... 24 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 02:00:00 am]

[May 25, 2013, 11:40:49 am]

[May 24, 2013, 06:36:59 pm]

[May 24, 2013, 05:22:09 pm]

[May 24, 2013, 05:20:20 pm]

[May 24, 2013, 05:11:52 pm]

[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.279 seconds with 22 queries.