News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Thank-O-Matic

Started by enik, June 12, 2007, 12:18:59 PM

Previous topic - Next topic

ディン1031

Quote from: sattninja on December 29, 2009, 01:05:09 AM
well i dont know what mod you are using or smf RC2 you are using but it seems you keep saying it is working i just downloaded

#  ThankOMatic20RC1.1_(for_2.0_RC2).zip

and the same as always i get a ton of errors

*     20.     Execute Modification     ./Sources/Load.php     Test failed
      1.    Replace    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test successful
      4.    Add After    ./Sources/Load.php    Test failed
      5.    Add After    ./Sources/Load.php    Test successful
      6.    Add After    ./Sources/Load.php    Test successful
      7.    Add After    ./Sources/Load.php    Test successful
*    21.    Execute Modification    ./Sources/ManageBoards.php    Test successful
      1.    Add After    ./Sources/ManageBoards.php    Test successful
      2.    Add After    ./Sources/ManageBoards.php    Test successful
*    22.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
      3.    Add After    ./Sources/ManagePermissions.php    Test successful
      4.    Add After    ./Sources/ManagePermissions.php    Test successful
      5.    Add After    ./Sources/ManagePermissions.php    Test successful
      6.    Add After    ./Sources/ManagePermissions.php    Test successful
*    23.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Replace    ./Sources/ManageSettings.php    Test failed
      3.    Replace    ./Sources/ManageSettings.php    Test failed
      4.    Replace    ./Sources/ManageSettings.php    Test failed
*    24.    Execute Modification    ./Sources/Memberlist.php    Test successful

last time i installed this cluster f*** it took my whole site down and i had to restore and it had the same errors so i dont know what you are updating but it is not making a change on my end and from another post i saw it took another site down also

am i doing something wrong or what
Errors could be only happen if there other mods installed... i can not do more than install a new smf test it and if there are no errors and than upload it here... i can not create a such complex mod for every possible thing...

I do not change anything only that the filename so that is correct...
Quote from: sattninja on December 29, 2009, 01:48:12 AM
ok i have another site and i went through the install and there were no errors not even one and here is what i get after install




this mod is jacked
Clear the file cache... i don't know why smf sometimes update the file cache and sometimes not...

Quote from: sattninja on December 29, 2009, 01:58:09 AM
well sure enough i tried uninstalling it on the second site and guess what it is down now i am currently resotring thanks again thanks to this wonderful mod i give up my advice is stay the hell away from this it should be removed till the author can get it straight
You give me not even the time to answer... helloooo i'm at work and i can not here 24/7 oO... and even than i've a reallife, too...



I don't know what i should do... everthing i do is wrong oO.
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

sattninja

i am not bashing you man i appreciate your help i am just frustrated

Running Rc4

ディン1031

Quote from: sattninja on December 29, 2009, 02:46:43 AM
i am not bashing you man i appreciate your help i am just frustrated
On the server with the correct install, did you clear the file cache?

On the other server did you install it with the errors? (I hope not.)
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

sattninja

on the one with no errors i just got done restoring it i will clear the file cache and try install again

on the other one no i did not install it with the errors
Running Rc4

Oskarlover


sattninja

ok i cleared the file cache and installed on the second forum again with no errors and still same thing as the image above the settings page all blank
Running Rc4

Oskarlover

Quote from: sattninja on December 29, 2009, 03:00:35 AM
ok i cleared the file cache and installed on the second forum again with no errors and still same thing as the image above the settings page all blank

Are you using English lenguage as default for your forum?

sattninja

Running Rc4

Oskarlover

thats could be the reason, why you switch to just english and then try again.

sattninja

well that crashed my site time to restore again

lol

this is a joke
Running Rc4

Oskarlover

i did what was telling to do because i had the same problem.

sattninja

Running Rc4

Oskarlover


ディン1031

#1153
Hmmm i thought i insert the english-utf8 changes oO... if this is the case... than... *lookintothepackage*




Uh... a huge mistake done by me... i will fix the packge... for some reasons the utf8 replacement of the english files is not correct *drop*.

The only way how you can fix this... look at the english translation and insert this into the english-utf8 files... sorry for the problem i never thought i would make this kind of mistake without notice this...
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?

I got this error after i thanks any one.

Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580


Thanks in advance
SMF Version? Mod Version?
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Oskarlover

Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?

I got this error after i thanks any one.

Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580


Thanks in advance
SMF Version? Mod Version?

Latest 2.0 RC 2

sattninja

thanks for all your effort man but as for me i am gin=ving up on this one

it just doesn't work :-[ :-[ :-[
Running Rc4

ディン1031

Quote from: Oskarlover on December 29, 2009, 04:04:48 AM
Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?

I got this error after i thanks any one.

Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580


Thanks in advance
SMF Version? Mod Version?

Latest 2.0 RC 2
Hmmm strange error... strange... normal this function should be evertime avaible... hmm in never insert this in the Load.php... hmmm this will be take some work if there is a mistake at the moment i can not help...

Question: Did you have a costum theme? And it happen only if you click on thank you?
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Oskarlover

Quote from: ディン1031 on December 29, 2009, 04:09:08 AM
Quote from: Oskarlover on December 29, 2009, 04:04:48 AM
Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?

I got this error after i thanks any one.

Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580


Thanks in advance
SMF Version? Mod Version?

Latest 2.0 RC 2
Hmmm strange error... strange... normal this function should be evertime avaible... hmm in never insert this in the Load.php... hmmm this will be take some work if there is a mistake at the moment i can not help...

Question: Did you have a costum theme? And it happen only if you click on thank you?

I got the theme OverViewLight from dzinerstudio, when i  click on Thank you evething seem to be ok, but when i refresh the post i see the error, also i only see the 1st post and not the rest .

ディン1031

#1159
Hmmmm i think you did not insert the change in the index.template.php on you're costum theme :X, for the ajax thank you it the backup function in it... (earlier i loaded evertime the ThankYouPost.php, i think i should do that again fi this function is missing *g*).

To solve the problem for now insert this:


<edit file>
$themedir/index.template.php
</edit file>

<search for>
?>
</search for>

<add before>
// A Output for the Thank You list, it's used for the Single Preview and Display Template :)
function template_thank_you_post($thankYouPost, $id_msg)
{
global $txt, $context, $modSettings;

if (!empty($context['thank_you_post'][$id_msg]))
{
if(empty($context['thank_you_post_template']['disable_start_text']))
echo '
<div class="smalltext" id="thank_you_start_text">', $context['thank_you_post_template']['start_text'] , '</div>';

// Output the Thank You List...
echo '
<div class="smalltext" id="thank_you_list">';

foreach ($context['thank_you_post'][$id_msg]['fulllist'] as $thx)
echo $thx['link'] , (!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');

echo '
</div>';
}

// Counter and Link to the direct or a link to the complete list :)
if (empty($context['thank_you_post_template']['disable_counter_text']))
{
echo '
<div class="smalltext" id="thank_you_list_link">';
if (empty($context['thank_you_post_template']['disable_counter_link']))
echo '
<a href="', $thankYouPost['href'] ,'">';
echo '
', $txt['thank_you_link_beforecounter'], ' <strong>', $thankYouPost['counter'], '</strong> ', ($thankYouPost['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($thankYouPost['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']);
if (empty($context['thank_you_post_template']['disable_counter_link']))
echo '
</a>';
echo '
</div>';
}

// Show some information if the Thank-O-Matic Post is locked
if ($thankYouPost['locked'])
echo '
<div class="smalltext" id="thank_you_lock_text">', $txt['thank_you_is_locked'], '</div>';
}
</add before>

Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Advertisement: