• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community The Community Real Life Discussion
« Previous 1 … 10 11 12 13 14 … 245 Next »
HTML programmer or something else needed for a tiny job

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (2): 1 2 Next »
HTML programmer or something else needed for a tiny job
Offline evanz
10-18-2018, 07:06 PM,
#1
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

i need someone that can easily code just what im thinking would be a couple of lines of code

my post

https://discoverygc.com/forums/showthrea...tid=160172

could some code something that would copy paste an image url/link into an input box

it then adds the needed img and t bits and then copies back into the clipboard

make it possibly a small tab command or something into a browser

ive not got a clue how to do this
  Reply  
Offline Nerva Regis
10-18-2018, 07:27 PM, (This post was last modified: 10-18-2018, 07:40 PM by Nerva Regis.)
#2
The Professor
Posts: 1,032
Threads: 113
Joined: Jul 2014

Soooo....something like this?
[Image: ojKt0yt.gif]

Edit: I can add more options when I have some free time.
Reply  
Offline evanz
10-18-2018, 08:08 PM, (This post was last modified: 10-18-2018, 08:10 PM by evanz.)
#3
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

close but the end result needs to be like this

[ url=https://i.imgur.com/mXeCqhP.jpg][ img]https://i.imgur.com/mXeCqhPt.jpg[/img][/url]

the full link, with the [ img] bits and the t

then a button to copy that to clipboard
  Reply  
Offline Nerva Regis
10-18-2018, 08:10 PM,
#4
The Professor
Posts: 1,032
Threads: 113
Joined: Jul 2014

Oh, yeah. forgot about the hyperlink.
Reply  
Offline Nerva Regis
10-18-2018, 08:27 PM,
#5
The Professor
Posts: 1,032
Threads: 113
Joined: Jul 2014

[Image: OO5vbNht.png]

Will finish the rest of the options later.
Reply  
Offline evanz
10-18-2018, 08:41 PM, (This post was last modified: 10-18-2018, 08:47 PM by evanz.)
#6
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

thats it!!

but add the normal thumbnail, the t option, make that the 1st option as a "standard" option to click on

then if possible, would that be able to be made into a right click option in a browser or possibly, when someone has highlighted or copied a link, it pastes it into your input bit and it automatically creates the link, and then the user clicks the "create" button that then copies the new full url into the clipboard ready to paste?
  Reply  
Offline Nerva Regis
10-18-2018, 09:00 PM,
#7
The Professor
Posts: 1,032
Threads: 113
Joined: Jul 2014

But the 't' one is the first one already XD.
I can make it to automatically copy the link to your clipboard. But, I would rather add a copy link button.
As for right click, uhm, although possible I would not want to go that direction. It won't be that hard to press two buttons XD
Reply  
Offline evanz
10-18-2018, 09:09 PM, (This post was last modified: 10-18-2018, 09:13 PM by evanz.)
#8
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

yep sorry your right, i forgot it was the small thumbnail option

brilliant so far

keep it as a copy link button, forget the right click method

when this is done to how i need it, name a ship and 20 mill credits will be given
  Reply  
Offline Nerva Regis
10-18-2018, 11:15 PM, (This post was last modified: 10-18-2018, 11:21 PM by Nerva Regis.)
#9
The Professor
Posts: 1,032
Threads: 113
Joined: Jul 2014

https://codepen.io/Nervy/full/WaJQwW

There you go. It should be pretty intuitive
- Link goes in the text box
- Then you choose whatever size you want for the thumbnail
- Use the button bellow to select the entire link - > Ctrl+C and you got your link.
Also, in case @Corile and @Laz and @JS Gods try to bully me for JS - this one protects me [Image: KsDpsQ3.gif]

Other plans: Yup, add more variation to for the thumbnail size.
Reply  
Offline evanz
10-18-2018, 11:59 PM, (This post was last modified: 10-19-2018, 12:05 AM by evanz.)
#10
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

thanks for that, but theres an error

[ url=https://i.i.imgur.com/CU1zx4h.png][ img]https://i.i.imgur.com/CU1zx4h.pngt.png[ /img][ /url]

i.i.

only needs the i. not 2

also the t needs to be before the .png

which will probably be the same for the others

and theres 2 of the .png (or jpg depends on imgur)

[Image: bXjrwMh.png]
  Reply  
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode