Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mehrtadbir

Pages: [1]
1
Mods SMFSimple / Re:Tagging System SMFSIMPLE
« on: October 10, 2013 - 08:19 20:19 »
Hello

I have an error in error log. please help me to fix it

http://irmeta.com/meta/tags
8: Undefined index: page_title
File: /*/Sources/TaggingSystem.php
Line: 136

Code: [Select]
116: function TaggingSystemMain()
117: {
118:
global $modSettings, $context, $settings, $sourcedir, $txt;
119:
120:
loadLanguage('Tagging');
121:
loadTemplate('Tagging');
122:
123:
$subActions = array(
124:
'search' => 'searchTags',
125:
'deletetag' => 'deleteTags',
126:
'suggest' => 'suggestTagsAjaxs'
127:
);
128:
129:
$sa = !empty($_GET['sa']) ? $_GET['sa'] : '';
130:
if (!empty($subActions[$sa]))
131:
call_user_func($subActions[$sa]);
132:
133:
tagList();
134:
tagCloud();
135:
==>136:
$context['page_title'] .= !empty($context['tag_name']) ? ' - ' . $context['tag_name'] : $txt['tags_menu_btn'];
137: }
138:
139: function suggestTagsAjaxs()
140: {
141:
global $smcFunc, $modSettings, $context;
142:
143:
loadTemplate('Tagging');
144:
$initial_req = !empty($_POST['consulta']) ? (string) $smcFunc['db_escape_string']($smcFunc['strtolower']($_POST['consulta'])) : '';
145:
$context['tags_suggests'] = array();
146:
$modSettings['tag_max_suggested'] = !empty($modSettings['tag_max_suggested']) ? (int) $modSettings['tag_max_suggested'] : 3;
147:
148:
if (!empty($initial_req))
149:
{
150:
$request = $smcFunc['db_query']('', '
151:
SELECT id_tag, tag
152:
FROM {db_prefix}tags
153:
WHERE tag LIKE "'.$initial_req.'%"
154:
LIMIT '.$modSettings['tag_max_suggested'].''
155:
);
156:
while($row = $smcFunc['db_fetch_assoc']($request))


Pages: [1]
top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines