Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12124
Latest: HousepfReviews2
New This Month: 15
New This Week: 1
New Today: 0
Stats
Total Posts: 38842
Total Topics: 6838
Most Online Today: 71
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 72
Total: 72

Author Topic: Simple audio embed  (Read 523 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: 14450
    • 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: 14450
    • 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: 14450
    • 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: 14450
    • 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: 14450
    • 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: 14450
    • 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: 14450
    • 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
3748 Views
Last post February 24, 2011, 01:52:53 pm
by simibill
2 Replies
3044 Views
Last post February 26, 2011, 08:36:56 am
by simibill
28 Replies
13652 Views
Last post July 24, 2013, 03:01:13 pm
by Genie
1 Replies
1499 Views
Last post July 25, 2015, 08:06:02 am
by SMFHacks
2 Replies
1905 Views
Last post November 18, 2015, 11:09:46 pm
by RedCairo

+- Recent Topics

Admin View in Member's Profile of Dates for Accepting of PP and Reg Agreement by HDB
June 16, 2018, 02:05:40 pm

SA Facebook? by Winslow
June 16, 2018, 11:23:22 am

Should I be concerned? by SMFHacks
June 15, 2018, 11:04:55 pm

[Mod]GDPR Helper by SMFHacks
June 13, 2018, 04:11:14 pm

Block to Tell who was online in last 24 hours by mtalks
June 09, 2018, 09:39:49 pm

Emoji Pro Released by Ross
June 08, 2018, 02:17:41 pm

Emojis or images? by SMFHacks
June 08, 2018, 10:17:03 am

Simple Audio/Video Embedder copyright removal by Ross
June 07, 2018, 02:38:09 pm

Is this the correct way to cache? by shuban
June 06, 2018, 12:18:05 pm

GDPR Pro 2.0 Released for SMF by SMFHacks
June 05, 2018, 09:32:16 am

Powered by EzPortal