Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12239
Latest: allershm
New This Month: 8
New This Week: 4
New Today: 0
Stats
Total Posts: 39378
Total Topics: 6932
Most Online Today: 134
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 52
Total: 53

Author Topic: Simple audio embed  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Simple audio embed
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #1 on: March 09, 2018, 12:41:31 pm »
It would be found in Sources/QueryString.php
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #2 on: March 09, 2018, 01:14:36 pm »
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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #3 on: March 09, 2018, 01:31:05 pm »
It is around this line of code
Code: [Select]
// If $scripturl is set to nothing, or the SID is not defined (SSI?) just quit.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #4 on: March 09, 2018, 09:50:02 pm »
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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #5 on: March 09, 2018, 10:01:03 pm »
Whats the link to your site i want see how it looks.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #6 on: March 09, 2018, 10:49:24 pm »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #7 on: March 09, 2018, 11:03:17 pm »
Can you attach your sources/querystring.php file.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #8 on: March 09, 2018, 11:15:25 pm »
Sure no problem...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #9 on: March 10, 2018, 07:55:43 am »
Hmm try changing this
Code: [Select]
$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
Code: [Select]
$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;
}
}
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #10 on: March 10, 2018, 10:13:17 am »
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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #11 on: March 10, 2018, 11:24:46 am »
Try this one instead
Code: [Select]
$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;
}
}
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davidfo79

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simple audio embed
« Reply #12 on: March 10, 2018, 08:44:36 pm »
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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14712
    • View Profile
Re: Simple audio embed
« Reply #13 on: March 11, 2018, 09:42:48 pm »
Not sure out of ideas now.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3895 Views
Last post February 24, 2011, 01:52:53 pm
by simibill
2 Replies
3167 Views
Last post February 26, 2011, 08:36:56 am
by simibill
28 Replies
13818 Views
Last post July 24, 2013, 03:01:13 pm
by Genie
1 Replies
1596 Views
Last post July 25, 2015, 08:06:02 am
by SMFHacks
2 Replies
2037 Views
Last post November 18, 2015, 11:09:46 pm
by RedCairo

+- Recent Topics

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

condition de livraison by alain54100
December 06, 2018, 12:33:38 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Turn off Latest Posts? by tfs
November 23, 2018, 09:08:49 pm

Powered by EzPortal