pleek Posted May 9, 2008 Share Posted May 9, 2008 hey i have noticed you have a topic salved mod installed on your smf 1.1.5. Can somebody here help me get it installed on my site? i have 1.1.4 but i could upgrade to 1.1.5 if i had to. Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/ Share on other sites More sharing options...
peranha Posted May 9, 2008 Share Posted May 9, 2008 Download this mod, and install it under Admin and packages http://custom.simplemachines.org/mods/index.php?mod=7 Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-537167 Share on other sites More sharing options...
pleek Posted May 9, 2008 Author Share Posted May 9, 2008 ok i installed that one again ( i had installed it before) and i hate how it changes the colors of the posts. And i have tried to mess with tar.gz files before and i can't figure it out. How do i change to color settings for the mod? Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-537174 Share on other sites More sharing options...
Daniel0 Posted May 10, 2008 Share Posted May 10, 2008 Hmm... that's not the one we have installed. I don't think that package is up anymore. I have attached the one we're using. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-537359 Share on other sites More sharing options...
pleek Posted May 10, 2008 Author Share Posted May 10, 2008 ok i installed that and everything works except the button for "topic salved" doesn't show up on my theme. I have my custom theme installed over my default. (just replaced the default files with the custom ones) I can access the settings for it and everything. But how do i get the button to show up at the bottom of the page? here is my test post. http://craigh.tlcrepair.net/smf/index.php?topic=485.0 image of it. Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-537898 Share on other sites More sharing options...
pleek Posted May 10, 2008 Author Share Posted May 10, 2008 ok, i switched some things up on my site. I un-installed every mod, re-installed the smf default theme. And then installed the mods again. The topic salved mod you gave me works great on the default theme, but i still can't figure out how to get it to show up on the theme i use for my site. Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-537928 Share on other sites More sharing options...
Daniel0 Posted May 11, 2008 Share Posted May 11, 2008 If you look at the file install.xml in the package, then you'll see that in $themedir/Display.template.php it searches for: 'move' => array('test' => 'can_move', 'text' => 132, 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0'), and inserts this after it: 'topic_solved' => array('test' => 'can_solve_topic', 'text' => $context['topic_solved'] ? 'topic_unsolved' : 'topic_solved', 'image' => 'topic_solved.gif', 'lang' => true, 'url' => $scripturl . '?action=topicsolved;topic=' . $context['current_topic'] . ';sesc=' . $context['session_id']), I guess you'll need to do something similar. Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-538103 Share on other sites More sharing options...
pleek Posted May 11, 2008 Author Share Posted May 11, 2008 thank you, worked great first time! You guys are the best. Quote Link to comment https://forums.phpfreaks.com/topic/104942-solved-topic-solved-mod/#findComment-538497 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.