Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4229
Latest: Ghost
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43077
Total Topics: 7493
Most Online Today: 62
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 63
Total: 63

Author Topic: code for copy img bbcode link?  (Read 330 times)

0 Members and 1 Guest are viewing this topic.

Offline landyvlad

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 57
    • View Profile
code for copy img bbcode link?
« on: June 07, 2023, 11:33:16 pm »
One of the great features of this gallery is the presence of an easy 'click to copy image bbcode' button next to pictures in the gallery.

I would like to implement something similar on one of my sites, any chance of providing the code that does that particular function? 


"No, go away you silly man" is an acceptable answer (but not the preferred one  ;D  )

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16355
    • View Profile
Re: code for copy img bbcode link?
« Reply #1 on: June 07, 2023, 11:35:28 pm »
Here is an example or you can just look at the gallery2.template.php code that we use

https://www.freecodecamp.org/news/copy-text-to-clipboard-javascript/
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
1 Replies
4427 Views
Last post April 02, 2008, 07:55:20 pm
by SMFHacks
1 Replies
5191 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
1 Replies
2874 Views
Last post May 27, 2010, 11:33:42 am
by SMFHacks
3 Replies
2935 Views
Last post January 28, 2017, 12:32:31 am
by SMFHacks
2 Replies
2244 Views
Last post January 28, 2017, 12:23:53 am
by landyvlad

+- Recent Topics

Version 6.1.6 issues by SMFHacks
September 25, 2023, 09:52:10 am

Follow / Follower Mod? by SMFHacks
September 23, 2023, 08:44:44 am

Looking for a good video player by replayuk
September 23, 2023, 12:17:39 am

[Mod]Discord Web Hooks by SMFHacks
September 22, 2023, 03:57:28 pm

SMF 2.1.4 Search by Anmer
September 22, 2023, 01:55:15 pm

Error in thise mode by Ghost
September 15, 2023, 08:42:24 am

Gallery Selection List Order by mickjav
September 07, 2023, 12:46:31 pm

[Mod]Tidy Child Boards 2.0 by Norwinjose
September 02, 2023, 11:42:54 am

PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole by SMFHacks
August 31, 2023, 10:55:22 am

PrettyURL - SEO4SMF Rewrites? by SMFHacks
August 28, 2023, 06:35:33 pm

Powered by EzPortal