Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 104
Total: 104

Author Topic: Simple audio embed  (Read 3825 times)

0 Members and 1 Guest are viewing this topic.

Offline davidfo79

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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
6085 Views
Last post February 24, 2011, 01:52:53 pm
by simibill
28 Replies
18073 Views
Last post July 24, 2013, 03:01:13 pm
by Genie
1 Replies
3035 Views
Last post July 25, 2015, 08:06:02 am
by SMFHacks
2 Replies
4715 Views
Last post November 18, 2015, 11:09:46 pm
by RedCairo
3 Replies
2485 Views
Last post February 27, 2018, 03:31:37 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal