Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12188
Latest: thereisaway
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39137
Total Topics: 6892
Most Online Today: 53
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 48
Total: 48

Author Topic: Simple audio embed  (Read 685 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: 14594
    • 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: 14594
    • 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: 14594
    • 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: 14594
    • 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: 14594
    • 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: 14594
    • 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: 14594
    • 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
3827 Views
Last post February 24, 2011, 01:52:53 pm
by simibill
2 Replies
3120 Views
Last post February 26, 2011, 08:36:56 am
by simibill
28 Replies
13736 Views
Last post July 24, 2013, 03:01:13 pm
by Genie
1 Replies
1552 Views
Last post July 25, 2015, 08:06:02 am
by SMFHacks
2 Replies
1961 Views
Last post November 18, 2015, 11:09:46 pm
by RedCairo

+- Recent Topics

Error in log with Export Data by Rivilis
Today at 10:23:55 am

More regular expression match for search by Michel68
September 23, 2018, 02:42:08 pm

SMFBlog problem by SMFHacks
September 21, 2018, 08:10:59 pm

GDPR Pro 2.0 Released for SMF by SMFHacks
September 21, 2018, 02:17:11 pm

[Mod]Dynamic Memberlist by SMFHacks
September 17, 2018, 05:00:59 pm

Pretty URL caches Url Permanently by SMFHacks
September 17, 2018, 11:57:44 am

[Mod]Guest Post No Email Field by SMFHacks
September 13, 2018, 10:41:07 pm

Can I redirect Pretty URL topics to another? by SMFHacks
September 13, 2018, 04:39:54 pm

Aeva Conversion - How to? by SMFHacks
September 12, 2018, 12:12:02 pm

Hide categories by language. 2. Multi lingual title by SMFHacks
September 12, 2018, 12:15:13 am

Powered by EzPortal