Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: CPG Gallery & SMF Gallery Pro  (Read 17489 times)

0 Members and 5 Guests are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #45 on: March 14, 2015, 01:49:43 PM »
Ran the bridge for CPG to SMF.

Now gotta figure out how to have links to both CPG and SMFgallery... reading up on SMF & CPG just leads to out of date and confusing information.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Mick

Re: CPG Gallery & SMF Gallery Pro
« Reply #46 on: March 14, 2015, 03:11:08 PM »
Ran the bridge for CPG to SMF.

Now gotta figure out how to have links to both CPG and SMFgallery... reading up on SMF & CPG just leads to out of date and confusing information.

Ken, the link needs to be added to the SMF main site nav menu.  That's a SMF thing. 

In Coppermine you already have the forum link added.  If you want to Change the home button to point to this home page, just change it in config.
Tinyportal.net Running SMF 2.1.4 / Tinyportal 3.0.0
Camera Craniums Running SMF 2.1.4 / Tinyportal 3.0.0, bridged with Coppermine 1.6.25
Guitarist Guild Running SMF 2.1.4 / Tinyportal 3.0.0
The Garden Machinery Forum Running SMF 2.1.4 / Tinyportal 3.0.0
YouTube

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #47 on: March 14, 2015, 06:59:16 PM »
Right, understood about it being an SMF thing for the nav bar button, but there in lies the problem. Trying to read up over on SMF leads to lots of info on older versions of SMF, but for 2.0.9 it's hard to fathom adding a link because the file location for those edits has changed and the directions that I've been able to uncover so far are not getting me to actually having a CPG Gallery button on the forum nav bar.
shocked028

If memory serves, we had links to both some years back, but whatever those edits were are long gone now, so me gotta go back to SMF for more research.  laughing7
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: CPG Gallery & SMF Gallery Pro
« Reply #48 on: March 14, 2015, 08:00:37 PM »
You want /Sources/Subs.php near the bottom of the file. Or use Notepadd++ or something similar and search for this:

Quote
function setupMenuContext()

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #49 on: March 14, 2015, 08:44:42 PM »
Got it!  :disturbed:

Don't know if I did it right or not?
My edit is around line 4145
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: CPG Gallery & SMF Gallery Pro
« Reply #50 on: March 14, 2015, 08:50:18 PM »
Give me a little bit to get this lasagna in the oven and i'll check it for you.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #51 on: March 14, 2015, 09:03:50 PM »
Give me a little bit to get this lasagna in the oven and i'll check it for you.

 :thumbup:
 That lasagna sounds good... me just had noodles (DaVinci Bucatini) in chicken broth with a little shredded chicken mixed in, the broth was the remainder from cooking the chicken for the sandwiches for tomorrow.
It were good.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: CPG Gallery & SMF Gallery Pro
« Reply #52 on: March 14, 2015, 09:19:09 PM »
The @#$%^&* thing is FINALLY in the oven!  :censored: A lengthy post is coming about the "comdey of errors" that took place later.

I'm downloading it now and having a look...

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: CPG Gallery & SMF Gallery Pro
« Reply #53 on: March 14, 2015, 09:24:25 PM »
Looks good to me and should work. :)

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #54 on: March 14, 2015, 10:15:27 PM »
The @#$%^&* thing is FINALLY in the oven!  :censored: A lengthy post is coming about the "comdey of errors" that took place later.

Looking forward to your account.  :thumbup:

Looks good to me and should work. :)

Thanks for looking.  :happy1:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: CPG Gallery & SMF Gallery Pro
« Reply #55 on: March 14, 2015, 10:24:47 PM »
Good job except you may wish to add a space between CPG and gallery. and maybe use a capital G for gallery...

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #56 on: March 15, 2015, 04:13:36 AM »
Good job except you may wish to add a space between CPG and gallery. and maybe use a capital G for gallery...

Which would look better, 'Coppermine', or 'CPG Gallery'?
Coppermine saves one space over the other spelling (10 vs 11)... currently it's set to Coppermine.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Mick

Re: CPG Gallery & SMF Gallery Pro
« Reply #57 on: March 15, 2015, 04:17:46 AM »
Right, understood about it being an SMF thing for the nav bar button, but there in lies the problem. Trying to read up over on SMF leads to lots of info on older versions of SMF, but for 2.0.9 it's hard to fathom adding a link because the file location for those edits has changed and the directions that I've been able to uncover so far are not getting me to actually having a CPG Gallery button on the forum nav bar.
shocked028

If memory serves, we had links to both some years back, but whatever those edits were are long gone now, so me gotta go back to SMF for more research.  laughing7

Ken, I'll be honest and say I've never been able to add a proper hard coded link to the SMF nav bar, and always screw it up.  So I cheat and use a menu manager.  Hence why I think SMF should have one built in to core, Or as my other suggestion TP have one built in as standard.  It's just a PITA to add a link imo.

If you look at the gallery link at http://cameracraniums.com you'll see it has a dropdown with, Last comments, Upload file, and latest uploads.

The only problem is although this particular menu manager works, it will kill your site if not used in the right order. lol..  I have got the hang of it now though.
Tinyportal.net Running SMF 2.1.4 / Tinyportal 3.0.0
Camera Craniums Running SMF 2.1.4 / Tinyportal 3.0.0, bridged with Coppermine 1.6.25
Guitarist Guild Running SMF 2.1.4 / Tinyportal 3.0.0
The Garden Machinery Forum Running SMF 2.1.4 / Tinyportal 3.0.0
YouTube

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #58 on: March 15, 2015, 04:33:18 AM »
Yeah, I agree on the built-in menu manager, it would make it so much easier to deal with.

I think those dropdown links that you have are really neat and will add them to the Coppermine link here. After finally starting to understand the help/how to for adding links that are posted over on SMF maybe I can do a dropdown without killing the forum.  :o

I've used a menu before and though about doing so for this, but was finally able to muddle through the hard code instructions.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11944
  • Gender: Male
  • View Gallery
Re: CPG Gallery & SMF Gallery Pro
« Reply #59 on: March 15, 2015, 04:37:16 AM »
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.