SOLVED - Problem With Page Link Within Topic »  Show posts from    to     

Icy Phoenix


Old Support Topics - SOLVED - Problem With Page Link Within Topic



ieio [ Mon 07 Apr, 2008 16:58 ]
Post subject: SOLVED - Problem With Page Link Within Topic
hi to all, i've a strange problem...

immagine_1207579954_680457

yesterday I did DB Maintenance and chose from Configuration-->Quick Settings-->Fast And Furious then I re-activated some feature I like/need; then I added the mod that allow bbcode in quick reply (and it works without a problem)
now there's no link to navigate within topic pages :? I looked in acp but I can't figure what's wrong :oops:
thank you in advance :loveit:


ieio [ Mon 07 Apr, 2008 17:10 ]
Post subject: Re: Problem With Page Link Within Topic
update: there's a problem with this MOD

http://www.phpbbmods.info/icy/viewtopic.php?f=1&t=5

Code: [Hide] [Select]
#
#-----[ ABRIR ]------------------------------------------
#
viewtopic.php

#
#-----[ BUSCAR ]------------------------------------------
# Linea: 2842
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.' . $phpEx);

#
#-----[ ANTES, AÑADIR ]------------------------------------------
#

// BBCBMG - BEGIN
include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_bbcb_mg.' . $phpEx);
include($phpbb_root_path . 'includes/bbcb_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_MG', 'bbcb_mg');
// BBCBMG - END
// BBCBMG SMILEYS - BEGIN
generate_smilies('inline');
include($phpbb_root_path . 'includes/bbcb_smileys_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_SMILEYS_MG', 'bbcb_smileys_mg');
// BBCBMG SMILEYS - END

#-----[ ABRIR ]------------------------------------------
#
temaplates/mg_themes/xs/xs_topic.tpl

#
#-----[ BUSCAR ]------------------------------------------
# Linea: 130
<tr>
<td class="row1" align="left" width="200" nowrap="nowrap"><span class="gen"><b><?php echo $lang['Subject']; ?>:</b></span></td>
<td class="row2" align="left" width="100%"><input type="text" name="subject" size="45" maxlength="60" style="width:98%" tabindex="2" class="post" value="{L_RE}: {TOPIC_TITLE}" /></td>
</tr>

#
#-----[ DESPUÉS, AÑADIR ]------------------------------------------
#

<tr>
<td class="row1" align="left" width="200" nowrap="nowrap"><span class="gen"><b>BBCode:</b></span></td>
<td class="row2" valign="top">
<!-- INCLUDE bbcb_mg.tpl -->
</td>
</tr>

but I can't fix it, sorry I only reported it :oops:


moreteavicar [ Tue 08 Apr, 2008 12:10 ]
Post subject: Re: Problem With Page Link Within Topic
Does that mean when you uninstalled it, pagination links worked again?

I notice Kuka removed this mod from this site, possibly because there has already been something similar in existence for some time: http://www.icyphoenix.com/viewtopic.php?f=4&t=1686

Perhaps try that one?


moreteavicar [ Tue 08 Apr, 2008 12:18 ]
Post subject: Re: Problem With Page Link Within Topic
Ah, I think I see a problem in the above.
Code: [Hide] [Select]
include($phpbb_root_path . 'includes/bbcb_smileys_mg.' . $phpEx);


is called after
Code: [Hide] [Select]
generate_smilies('inline');


But if I'm not mistaken, generate_smilies() is a function within bbcb_smileys_mg, so you need to include that file first, before calling generate_smilies()


*EDIT* Utter nonsense, I deny I even said it! generate_smilies() is in functions_post.php!


moreteavicar [ Tue 08 Apr, 2008 12:39 ]
Post subject: Re: Problem With Page Link Within Topic
Maybe the problem is just the way the <!-- INCLUDE bbcb_mg.tpl --> is done in <tr> tags, I think the output has to be within the <td> tags of the message, as it is in ktm's original version - this is backed up by examining the implementation of BBCB_MG in posting_body.tpl... possibly a direct <!-- INCLUDE bbcb_mg.tpl --> breaks the page layout...


ieio [ Wed 09 Apr, 2008 01:04 ]
Post subject: Re: Problem With Page Link Within Topic
moreteavicar wrote: [View Post]
Does that mean when you uninstalled it, pagination links worked again?
first rule: always backup :mryellow: in addition i had to clear main cache and all worked again

moreteavicar wrote: [View Post]
http://www.icyphoenix.com/viewtopic.php?f=4&t=1686

Perhaps try that one?
the great (right) advice :loveit: thank you master 0057

moreteavicar wrote: [View Post]
*EDIT* Utter nonsense, I deny I even said it!
:lethercap: I'm blind... what did you write??? 0004 :lol_flag:


moreteavicar [ Wed 09 Apr, 2008 11:34 ]
Post subject: Re: SOLVED - Problem With Page Link Within Topic
:lol: bene!




Powered by Icy Phoenix