Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43294
Total Topics: 7523
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 126
Total: 126

Author Topic: Added HTML and BBC to gallery....  (Read 4086 times)

0 Members and 1 Guest are viewing this topic.

Offline xface

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 16
    • View Profile
Added HTML and BBC to gallery....
« on: October 21, 2006, 02:55:52 am »
Okay I liked the random picture block that we were working on  with the Linking codes button, but I wanted linking codes to show when you view the photo in the gallery.....

So here is what I did and it works but I want you guys to improve it for me.

Find:
Code: [Select]
echo'
</table><br />';
Around line 738 just before the comments codes....

After add:
Code: [Select]
{
echo '
<form><b>HTML:<br></b><textarea rows="2" cols="90"><a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename']  . '">
<img src="' . $modSettings['gallery_url'] . 'thumb_' . $context['gallery_pic']['filename']  . '"></a></textarea><p>
<b>BBC:<br></b><textarea rows="2" cols="90">[url=' . $modSettings['gallery_url'] . $context['gallery_pic']['filename']  . ']
[img]' . $modSettings['gallery_url'] . 'thumb_' . $context['gallery_pic']['filename']  . '[/img][/url]'; echo '</textarea></form><p>';
   }

This should add the photo codes for that picture right under the photo description and who is viewing junk but before the comments block.

I would like to see these codes go directly to the gallery page, but showing the thumbnail....

If none of this makes sense its because i am tired, and semi retarded when it comes to this stuff.  ;D :o

So if anyone can help with this code I would really appreciate it!

 

Related Topics

  Subject / Started by Replies Last post
HTML??

Started by Riley Support

1 Replies
5388 Views
Last post October 30, 2010, 10:43:27 am
by earthond
2 Replies
4287 Views
Last post March 01, 2009, 09:33:13 am
by Vincent Volmer
1 Replies
6588 Views
Last post August 25, 2009, 08:04:21 pm
by SMFHacks
1 Replies
3906 Views
Last post May 27, 2010, 11:33:42 am
by SMFHacks
2 Replies
1450 Views
Last post February 01, 2024, 01:04:56 pm
by fvlog19

+- Recent Topics

Please Help! by fmofmpls
Today at 01:47:09 pm

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

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal