SMFHacks.com
Modifications/Themes => Modifications Talk => Topic started by: davidfo79 on March 09, 2018, 12:24:27 pm
-
I hope I got this in the right section, if not I apologize and hope that it can be moved to the proper place.
Anyway now, with that said I recently uninstalled a older version and installed the 4.5, since then it adds the copyright at the bottom of the page twice. Where would I remove the one?
-
It would be found in Sources/QueryString.php
-
Hmm,
alright, what part would I need to search for? I'm looking over the coding now and I guess I must be missing something because I don't see anything at the moment that is doubled in that file.
-
It is around this line of code
// If $scripturl is set to nothing, or the SID is not defined (SSI?) just quit.
-
First off I want to say thank you for the help, it is appreciated...specially the quick response.
Unfortunately I remove the coding that was there, and then added it back from the manual install wise, and still I am getting a double copyright message.
Any other ideas?
-
Whats the link to your site i want see how it looks.
-
http://www.starlightchatnetwork.com/index.php
-
Can you attach your sources/querystring.php file.
-
Sure no problem...
-
Hmm try changing this
$showInfo = MediaProCheckInfo();
if ($showInfo == true)
{
if (!isset($autoMediaLoaded))
{
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><a href="http://www.createaforum.com" target="_blank">Simple Audio Video Embedder</a>', $buffer);
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><a href="http://www.createaforum.com" target="_blank">Simple Audio Video Embedder</a>', $buffer);
$autoMediaLoaded = 1;
}
}
To
$showInfo = MediaProCheckInfo();
if ($showInfo == true)
{
if (!isset($autoMediaLoaded))
{
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><a href="http://www.createaforum.com" target="_blank">Simple Audio Video Embedder</a>', $buffer);
$autoMediaLoaded = 1;
}
}
-
Ok I updated that coding, however now it removed it entirely.
I never purchased the removal of it, so I still want to show the support of course.
Anything else that I could try?
-
Try this one instead
$showInfo = MediaProCheckInfo();
if ($showInfo == true)
{
if (!isset($autoMediaLoaded))
{
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><a href="http://www.createaforum.com" target="_blank">Simple Audio Video Embedder</a>', $buffer);
$autoMediaLoaded = 1;
}
}
-
This is odd,
because now it is putting the double copyright in again with that attempt.
Could it be something with another file, such as the theme or another source?
-
Not sure out of ideas now.