SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 19, 2013, 05:24:05 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10757
Latest:
DTroup
Stats
Total Posts: 32348
Total Topics: 5473
Online Today: 56
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 39
Total: 39
SMFHacks.com
Forum
Modifications/Themes
Modifications Talk
Latest Mods
SMF Links
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
1
...
9
10
[
11
]
12
13
...
24
Author
Topic: SMF Links (Read 220397 times)
doc-com
Inline PM Customer
Offline
Posts: 9
SMF Links in Dilber MC theme SMF 1.1 RC3
«
Reply #150 on:
November 18, 2006, 10:08:54 pm »
Thanks SMFHacks
I sort of rough 'I love SMF' it ....
I copied this from the default Index.template.php
// the [links] button
if ($context['allow_view_smflinks'])
echo ($current_action == 'links' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="center" class="menubg' , $current_action == 'links' ? '2' : '' , '">
<a href="', $scripturl, '?action=links">' , $txt['smflinks_menu'] , '</a>
</td>' , $current_action == 'links' ? '<td class="maintab_active_' . $last . '"> </td>' :
'';
and pasted into the Dilber Index.template.php
then altered to match other Dilber menu items as such;
// the [links] button
if ($context['allow_view_smflinks'])
echo'
<td align="center" class="menubg' , $current_action == 'links' ? '2' : '' , '">
<a href="', $scripturl, '?action=links">' , $txt['smflinks_menu'] , '</a>
</td>';
note: make sure to change
<td valign
to
<td align
to have text centered horizontally instead of vertically.
then added
'links'
to this section
// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'links')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';
anyhow, it seems to work ok, can you see any faults ?
.
«
Last Edit: November 18, 2006, 11:09:33 pm by doc-com
»
Logged
Gigabyte MA790FX DS5 m/board + Athlon XP 2.8Ghz D/Core CPU + 2GB DDR2 RAM + Asus ATI HD2600 Pro 512MB video + 1 pata & 4 sata drives (2600 GB) + 2 DVD burners + 2 x 19" LCD monitors =
My Website Workshop
.
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: SMF Links
«
Reply #151 on:
November 18, 2006, 11:01:44 pm »
That's the code looks good from what I see.
Logged
tambitch
Inline PM Customer
Offline
Posts: 9
Re: SMF Links
«
Reply #152 on:
November 20, 2006, 06:20:05 am »
Quote from: stefanp on November 15, 2006, 06:43:58 am
Theres something wrong with the links.template.php i think.
The title of url-field is placed in the dropdown of categorie.
The url-field is out of the table
Go to Links.templete.php and search for:
Code:
$row['ID_CAT'] == $catid) ? 'selected="selected" ' : '') .' ">'
replace with:
Code:
$row['ID_CAT'] == $catid) ? 'selected="selected" ' : '') .'>'
There is an extra " in the optionmenu that throws off the display.
Logged
Rasyr
Inline PM Customer
Offline
Posts: 1
Re: SMF Links
«
Reply #153 on:
November 20, 2006, 07:18:01 am »
I really like this Mod, and so do my users, however, there are a few requests for changes/improvements coming in from them.
Several of my forum users wish that the Links manager would allow for links to be in multiple categories without having to enter the link multiple times.
Another request is some sort of control on it, so that folks cannot click on a link multiple times within a specified time frame (i.e. artificially increasing the # of visits count)
Top Five lists - another request came in from my users to allow for changing the number of links in the Visits and the Ratings lists, and to be able to paginate them when there are too many (i.e. they want to go through and be able to look at all of the links in order). -- Note: for this one, I just added a new sub-action which takes them to a page that shows all of the links in 2 lists (Rated and Hits). You can see this on my site at
http://www.ironcrown.com/ICEforums
I told them that I would ask.....
Logged
stefanp
Inline PM Customer
Offline
Posts: 11
Re: SMF Links
«
Reply #154 on:
November 22, 2006, 07:44:54 am »
thx - with the above code the "add-links-form" rox now
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: SMF Links
«
Reply #155 on:
November 22, 2006, 08:26:46 am »
Thanks updated the mod with the fix.
Logged
Caspar107
Inline PM Customer
Offline
Posts: 12
Re: SMF Links
«
Reply #156 on:
November 24, 2006, 07:31:57 am »
When I install it, I get the following error message
Code:
Fatal error: packageinstall() [function.require]: Failed opening required '/home/dutchmilli/domains/dutch-military.nl/public_html/schuuring/Packages/temp/./linksql.php' (include_path='.:/usr/local/lib/php') in /home/dutchmilli/domains/dutch-military.nl/public_html/schuuring/Sources/Packages.php on line 540
Logged
Caspar107
Inline PM Customer
Offline
Posts: 12
Re: SMF Links
«
Reply #157 on:
November 24, 2006, 03:24:53 pm »
Never mind, forgot to chmod to 777
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: SMF Links
«
Reply #158 on:
November 24, 2006, 09:13:56 pm »
Version 1.6
Sorting of links on link display.
Added new layout for the admin panel.
Separated settings, categories, category permissions and approve links to their own sections in the admin panel.
Added page listing to approve links.
Added category level permissions for adding, editing, deleting and viewing links.
Added settings to toggle what information is shown on link display
Added Subcategories
Started basic support for Alexa and PageRank still need to make the functions work.
Logged
Jump1979man
Sr. Member
Offline
Posts: 274
Re: SMF Links
«
Reply #159 on:
November 25, 2006, 01:26:59 pm »
If permissions are already set for each group do we still need to give permissions within the links mod itself?
when I checked the actual admin permissions it took away all my group permissions to only allow view links....
now what happens when I click them all again that I originally had set?
What has more power, the links permissions in the links mod or the admin permissions in the admin cp?
There are also many more options for permissions in the admin cp rather than just the 4 in the links mod permissions....why?
«
Last Edit: November 25, 2006, 01:34:23 pm by Jump1979man
»
Logged
Midwest Motorcycles Forum
http://www.mwmotorcycles.com
Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: SMF Links
«
Reply #160 on:
November 25, 2006, 01:34:37 pm »
You do not need reset the permissions. The category permissions are if you want to disable a global permission on a category level.
Logged
doc-com
Inline PM Customer
Offline
Posts: 9
Re: SMF Links
«
Reply #161 on:
November 25, 2006, 06:36:16 pm »
Hi,
just installed SMF Links 1.5 last week into Dilber MC theme
V 1.6 sounds good, sub-categories and sorting display is just what we need - good work people...
Anywhow, I've uploaded 1.6 to our forum, but it recommends I uninstall the old version or get an upgrade version to install?
If I uninstall 1.5, do we lose the existing links?
Whats the best way to upgrade to 1.6
Logged
Gigabyte MA790FX DS5 m/board + Athlon XP 2.8Ghz D/Core CPU + 2GB DDR2 RAM + Asus ATI HD2600 Pro 512MB video + 1 pata & 4 sata drives (2600 GB) + 2 DVD burners + 2 x 19" LCD monitors =
My Website Workshop
.
SMFHacks
Administrator
Hero Member
Offline
Posts: 10987
Re: SMF Links
«
Reply #162 on:
November 25, 2006, 06:37:56 pm »
I would unstiall since new tables are created and tables altered.
All links and information will remain if you unistall the old version so you are safe.
Logged
doc-com
Inline PM Customer
Offline
Posts: 9
Re: SMF Links
«
Reply #163 on:
November 25, 2006, 07:47:43 pm »
Thanks SMF Hacks,
1.6 works a treat - I'm sure the members will love it too
one problem I just noticed; when I log out and visit as a guest, i'm unable to view any links in the categories, just get this message
Quote
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
This is despite having approval in membergroup permissions; I've added the link category permissions and that makes no difference, guest still can't view or add links.
I also changed theme back to default, but problem still exists
«
Last Edit: November 25, 2006, 08:53:49 pm by doc-com
»
Logged
Gigabyte MA790FX DS5 m/board + Athlon XP 2.8Ghz D/Core CPU + 2GB DDR2 RAM + Asus ATI HD2600 Pro 512MB video + 1 pata & 4 sata drives (2600 GB) + 2 DVD burners + 2 x 19" LCD monitors =
My Website Workshop
.
Jump1979man
Sr. Member
Offline
Posts: 274
Re: SMF Links
«
Reply #164 on:
November 25, 2006, 11:49:36 pm »
yep....
Quote
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
me too.....something is wrong with the mod.
Logged
Midwest Motorcycles Forum
http://www.mwmotorcycles.com
Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.
Pages:
1
...
9
10
[
11
]
12
13
...
24
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Feature Requests for SMF ...
by
Secure
[May 16, 2013, 10:13:46 pm]
stuck on "Processing" scr...
by
SMFHacks
[May 15, 2013, 11:32:14 pm]
[Request] - Award for any...
by
SMFHacks
[May 15, 2013, 11:31:24 pm]
SMF Gallery Pro 5.0.1 not...
by
SMFHacks
[May 12, 2013, 09:10:43 am]
Golf Theme
by
Serglike
[May 10, 2013, 03:49:55 am]
Display ads on every page...
by
SMFHacks
[May 07, 2013, 07:12:40 pm]
Edited simple ad code and...
by
ApplianceJunk
[May 07, 2013, 02:37:14 pm]
"non" error on bulk uploa...
by
SMFHacks
[May 06, 2013, 10:29:56 pm]
Can I give member an ad p...
by
fernowl
[May 04, 2013, 03:22:01 pm]
How to configure the Auto...
by
SMFHacks
[May 04, 2013, 01:08:57 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...