Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 237
Total: 237

Author Topic: Commenting Out  (Read 1880 times)

0 Members and 1 Guest are viewing this topic.

Offline marcbkk

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Commenting Out
« on: March 17, 2016, 10:07:13 am »
Hello everyone. I am running an old version of SMF Gallery Pro on my forum. The forum really isn't active anymore and we are in the process of scaling it down to be just an archive of information and only show a core forum page to site guests.

We want to keep the Gallery installed for registered users on the backside so we don't want to remove it completely. But there are elements of the smf gallery on the main page of the forum that are visible to guests and I can't seem to get rid of using Gallery Pro settings.

Mainly I am trying to get rid of the 10 most recent pictures and 10 most recent comments at the bottom of the forum's main page.

Does anyone know how to 'comment out' these parts from the mod's code?

Screen shot attached of the parts I am referring to.

Cheers.
« Last Edit: March 17, 2016, 10:08:50 am by marcbkk »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Commenting Out
« Reply #1 on: March 17, 2016, 10:08:38 am »
That code would have been added to the boardindex.template.php file.
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 marcbkk

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Commenting Out
« Reply #2 on: March 17, 2016, 10:09:30 am »
Thanks. Located in the theme I am running or the default theme? Or elsewhere?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Commenting Out
« Reply #3 on: March 17, 2016, 10:10:42 am »
normally in the default theme.
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 marcbkk

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Commenting Out
« Reply #4 on: March 17, 2016, 10:14:38 am »
Fixed, done. Thanks.

 

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal