Bbcode retrieve image using file.

Started on the old forum in November 2010 · view the original in the archive · old links redirect here

3 replies · 420 views · started 16 years ago · 1 min read

2 participants
crazybrumi Super moderator Principal · 1,064 posts #1

hello i have made a new feature were by you upload pictures into your own gallery where noone else can see the pictures, unless you choose to show them, to which you will have a code like you do with smileys which you input at the uploading stage. nw what i was wandering is should is how to get the bbcode writtern, what i was thinkin was having a image source with a for example getimage.php? with an the code and that file will include all the datbase querys and outputs etc which will in end display the image. this was my idea has anyone got one that would work betteR?

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

srecnica Developer · 174 posts #2
$text = preg_replace("/\[gal](.*?)\[\/gal\]/is","<a href=\"gallery.php?action=viewuser&who=$1&sid=$sid\">My Gallery</a>",$text);

code is written [gal]enter the id number of members[/gal for example... [gal]1[/gal] ps.I hope I understand what you intend to do as the BB code .. 🙂

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close