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: 43295
Total Topics: 7523
Most Online Today: 186
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 200
Total: 200

Author Topic: prefix thingy  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

Offline Eudemon

  • Member
  • *
  • Posts: 46
    • View Profile
prefix thingy
« on: July 08, 2011, 10:21:54 pm »
please gimme an instruction on how to add prefix, thanks

for more detail u can see
http://www.smfhacks.com/index.php/topic,5878.0.html

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: prefix thingy
« Reply #1 on: July 08, 2011, 10:34:39 pm »
You need to edit either
Sources/Gallery.php or Sources/Gallery2.php depending on your smf version.

You will need to do multiple changes so search the files for every instance of

For SMF 1.1.x
Code: [Select]
$filename = $ID_MEMBER . '_' . date('d_m_y_g_i_s') . '.' . $extension;

Then change to
Code: [Select]
$filename = 'yourprefixhere_' . $ID_MEMBER . '_' . date('d_m_y_g_i_s') . '.' . $extension;
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/

Offline Eudemon

  • Member
  • *
  • Posts: 46
    • View Profile
Re: prefix thingy
« Reply #2 on: July 08, 2011, 10:41:21 pm »
to codes like these as well?
Code: [Select]
$filename = $cat_id . '.' . $extension;
Code: [Select]
$filename = $row['filename'];
Code: [Select]
$filename = $mytmp;
« Last Edit: July 08, 2011, 10:44:44 pm by Eudemon »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: prefix thingy
« Reply #3 on: July 08, 2011, 10:47:41 pm »
Those don't have to be changed those are just used for the main category images not user uploads.
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/

Offline Eudemon

  • Member
  • *
  • Posts: 46
    • View Profile
Re: prefix thingy
« Reply #4 on: July 08, 2011, 11:09:49 pm »
question:
is the keywords and tags searchable by browser? which will link to the image page

btw can i use gallery on my other smf child site too?
« Last Edit: July 09, 2011, 12:10:39 am by Eudemon »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: prefix thingy
« Reply #5 on: July 09, 2011, 11:01:42 am »
Keywords/tags are links they are shown either in the tag cloud or on the view picture page. When clicked they will return a search result of all images with that tag or keyword.

Additional production sites require their own license but I can do bulk/additional license discounts.
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/

Offline Eudemon

  • Member
  • *
  • Posts: 46
    • View Profile
Re: prefix thingy
« Reply #6 on: July 09, 2011, 01:51:39 pm »
&^*^**(
sorry maybe i was too tired
i meant to say "are they searchable by search engine"
in other words, will tags and keywords be indexed by search engine?

also what discount u will give for additional license?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: prefix thingy
« Reply #7 on: July 09, 2011, 02:44:38 pm »
Yes tags and keywords are searchable by search engines. I can send you a pm for additional license discounts.
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/

Offline Eudemon

  • Member
  • *
  • Posts: 46
    • View Profile
Re: prefix thingy
« Reply #8 on: July 09, 2011, 02:46:30 pm »
alright send me a pm,  i will think about it

 

+- Recent Topics

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

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