Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4293
Latest: siriusblack
New This Month: 2
New This Week: 1
New Today: 0
Stats
Total Posts: 43802
Total Topics: 7605
Most Online Today: 473
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 278
Total: 278

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

0 Members and 1 Guest are viewing this topic.

Offline landyvlad

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 62
    • 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: 16678
    • 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
5642 Views
Last post April 02, 2008, 07:55:20 pm
by SMFHacks
1 Replies
6432 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
1 Replies
4086 Views
Last post May 27, 2010, 11:33:42 am
by SMFHacks
3 Replies
3917 Views
Last post January 28, 2017, 12:32:31 am
by SMFHacks
2 Replies
3933 Views
Last post January 28, 2017, 12:23:53 am
by landyvlad

+- Recent Topics

SMF Classifieds 6.0 by SMFHacks
June 18, 2025, 08:26:33 pm

The path must not be empty - Bulk Uploader Issues by SMFHacks
June 13, 2025, 09:03:52 pm

A day? by davejo
June 11, 2025, 04:14:35 pm

Dual 'Upload Url' by davejo
June 06, 2025, 04:27:45 pm

Automatic Sorting of Categories by Kiwi
June 03, 2025, 10:32:32 pm

[Mod]Cloudflare Turnstile for SMF by SMFHacks
May 08, 2025, 10:08:43 am

Disable "Notify me of Comments feature" by Kiwi
May 08, 2025, 02:04:16 am

Trying to access array offset on null by Michel68
May 05, 2025, 08:47:34 am

Default [Additional] Membergroups upon Registration by SMFHacks
April 30, 2025, 10:22:52 am

Sorted FTP Import Directory by SMFHacks
April 25, 2025, 05:11:22 am

Powered by EzPortal