Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43306
Total Topics: 7525
Most Online Today: 662
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 265
Total: 265

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

0 Members and 2 Guests are viewing this topic.

Offline landyvlad

  • 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: 16457
    • 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
5466 Views
Last post April 02, 2008, 07:55:20 pm
by SMFHacks
1 Replies
6278 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
1 Replies
3945 Views
Last post May 27, 2010, 11:33:42 am
by SMFHacks
3 Replies
3698 Views
Last post January 28, 2017, 12:32:31 am
by SMFHacks
2 Replies
3645 Views
Last post January 28, 2017, 12:23:53 am
by landyvlad

+- Recent Topics

Attachment images Upsidedown or Sideways by SMFHacks
June 10, 2024, 04:00:21 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

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

Powered by EzPortal