Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 19, 2013, 01:26:23 pm

Login with username, password and session length
Members
Total Members: 10758
Latest: murdocklawless
Stats
Total Posts: 32349
Total Topics: 5474
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 41
Total: 43
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 ... 15 16 [17] 18 19 ... 24 Go Down Print
Author Topic: SMF Links  (Read 220401 times)
samyot
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #240 on: October 17, 2007, 09:14:07 am »

OK, I've removed the permissions through the Links Configuration and changed the permissions through the Member Permissions instead and set the Guest group to only view.

I'll see within the next few days if they can still spam my links directory.....
Logged
GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #241 on: October 17, 2007, 06:38:19 pm »

If this works your a champion. I'm in my database admin. What am I changing and how. I think all I have just done is add more tables. I changed the ID_CAT......0 to 3 and clicked GO but nothing happend..is that right?
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 #242 on: October 18, 2007, 04:31:43 am »

Ok.. I cleared my forum error reports and then tried to accept or decline...this is the error I got
8: Undefined index: smflinks_set_count_child
File: /home/ezmne3/public_html/gamesocket2/Themes/default/languages/Admin.english.php (eval?)
Line: 1358
Logged

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

samyot
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #243 on: October 18, 2007, 11:12:19 am »

If this works your a champion. I'm in my database admin. What am I changing and how. I think all I have just done is add more tables. I changed the ID_CAT......0 to 3 and clicked GO but nothing happend..is that right?
Hi,

I just verified your site and you don't appear to have a cat with ID3, try changing all ID_CAT that = 0 to 1 (since you have one, Game Sites)
Logged
GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #244 on: October 18, 2007, 04:26:26 pm »

ahhh. Thanks samyot.  Grin Finally can clear them. Its always been a long process to clear waiting links but now I have 146 to do over time.

I always had spammers/bots putting in links but they have always shown up. Something has changed somewhere.

I am working on getting an existing links software to install into SMF that has its own settings, capture, admin and support forum. I just have to read up tutorials and send a lot more emails to the makers(done that and responded). Probably nearer the end of the year

Thankyou so much for your reply.
Logged

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

samyot
Inline PM Customer
*****
Offline Offline

Posts: 4


View Profile
« Reply #245 on: October 19, 2007, 01:33:07 pm »

No prob! Grin

I just wanted to let you know that I haven't had any spam entries since changing the permissions through the Member Permissions instead of the Links MOD and setting the Guest group to only view!
Logged
GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #246 on: October 19, 2007, 11:58:39 pm »

Cheers. Yeah I got mine on Guest post. Might change it and just use contact for genuine links.

Thanks
Logged

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

sasawawa
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #247 on: October 28, 2007, 12:59:09 pm »

Thanks,installed successfully.

But i have one question, how can i add a new tag that named "links" on my homepage.

I just add
Code:
if ($context['current_action'] == 'links')
$current_action = 'links';
after
Code:
if ($context['current_action'] == 'search2')
$current_action = 'search';
in my forum index.template.php i using default theme.

But i still can't see there is a tag "links' display on my homepage.  Huh


Help need ,please.

Any help will be appreciated
Logged

GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #248 on: October 28, 2007, 06:13:46 pm »

Code:

// How about the [links] button?
echo '
<a href="', $scripturl, '?action=links">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/links.gif" alt="' . $txt['links'] . '" border="0" />' : $txt['links']), '</a>', $context['menu_separator'];

// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
 
 

You will see where it goes
Logged

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

sasawawa
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #249 on: October 29, 2007, 03:51:28 am »

I have added the links tag on my homepage, but only admins can see the links tag. Huh

Members and guests can't see it.

Moreover, when the members group visit the URL "forum/index.php?action=links"

There is a note : An Error Has Occurred!


Below is the code in my index.template.php :

Code:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;




// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'managegames', 'arcadesettings', 'arcadecategory', '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('links','search', 'arcade', 'admin', 'calendar', 'profile', 'mlist','register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'links')
$current_action = 'links';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';




// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first = 'last';
$last = 'first';
}
else
{
$first = 'first';
$last = 'last';
}




// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '">&nbsp;</td>';




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




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





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





// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
// 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">' ,links , '</a>
</td>' , $current_action == 'links' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




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




// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




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




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












// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';








// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=join">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';








// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




// The end of tab section.
echo '
<td class="maintab_' , $last , '">&nbsp;</td>
</tr>
</table>';




}




I do  appreciate for your help  Huh
Logged

GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #250 on: October 29, 2007, 04:39:50 am »

Have you gone to admin links settings and set it for guests and members?

Admin>>Board permissions>>>guests modify>>SMF Links>>>tick or untick your preferences.

Do the same thing for members.
Logged

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

sasawawa
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #251 on: October 29, 2007, 06:10:05 am »

Have you gone to admin links settings and set it for guests and members?

Admin>>Board permissions>>>guests modify>>SMF Links>>>tick or untick your preferences.

Do the same thing for members.


Thanks for your reply,GameSocket.

 But there is no the option of SMF under my Admin>>Board permissions>>>guests modify  Angry

Btw, i have enabled guests and all members' permission of "View,add link, edit own link, delete own link " .
 Huh

Still doesn't work.
   


« Last Edit: October 29, 2007, 06:14:11 am by sasawawa » Logged

GameSocket
Jr. Member
**
Offline Offline

Posts: 79


NZ Made


View Profile WWW
« Reply #252 on: October 29, 2007, 06:22:41 am »

where is your site? I done use the default theme and I don't like links that much.

If you have given them those permissions the should be seeing the link and access.
Logged

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

sasawawa
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #253 on: October 29, 2007, 11:47:23 am »

My forum link is here :


http://www.invest-tracing.com/forum/index.php

May i ask you a favor ?

Could you check my code fix me the problem ?

 Angry

I am stupid with the codes .
Logged

sasawawa
Inline PM Customer
*****
Offline Offline

Posts: 12


View Profile
« Reply #254 on: October 29, 2007, 12:34:50 pm »

Then the mod isn't installed.
Links are not handled in the admin panel. You need to go to the links page http://yoursite.com/index.php?act=links  from there you can add categories and manage links.
Only thing in the admin panel you will find is permissions under the permissions page.

SMFHacks.com


Dear Admin,

i don't see there is links  permissions under my forum Admin CP- Members--Permissions  Huh
Logged

Pages: 1 ... 15 16 [17] 18 19 ... 24 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]

[May 07, 2013, 02:37:14 pm]

[May 06, 2013, 10:29:56 pm]

[May 04, 2013, 03:22:01 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.216 seconds with 22 queries.