2006-09-26, 02:59 AM
Thanks! I'll snoop around my templates and see what kind of trouble I can get into! LOL
Jude
[Ver1.4] Latest Attachment Gallery - for MyBB 1.4 [UPDATED]
|
2006-09-26, 02:59 AM
Thanks! I'll snoop around my templates and see what kind of trouble I can get into! LOL
Jude
2006-09-26, 03:16 AM
I suspect you already knew that... But just in case...... Lol!!
Ozidave Wrote:I tried creating a portal_atchgallery template from the global one, changing the colspan maunually to two, and giving it another "eval" in the portal.php file.Do you have an screenshot so I can look about that? That gives me another good feature to add in too. [Edit]Well nevermind, your portal is probably customized. Take a look at the default one, http://zurias.com/mybbdev/portal.php .
Hi again Jeff,
It's not so much modified... as everything are in their own template modules.. and could easily be made into plugins.. Here's where I do my 'playing' and as you will see, the gallery fits in nicely. Edit: Link Removed as it's no longer relevant to the template in question.. And is in a later post to the default MyBB.
2006-09-26, 03:50 AM
Interestingly enough, I can see the box and the images right now. It looks perfect.
2006-09-26, 06:08 AM
Off Topic:
Thanks, You've given me some incentive to theme the 'little' mods I added, into the default MyBB. And see what happens in a purely default application.
2006-09-26, 07:29 AM
Ozidave Wrote:I tried creating a portal_atchgallery template from the global one, changing the colspan maunually to two, and giving it another "eval" in the portal.php file.So, this issue is fixed?
2006-09-26, 07:38 AM
No Jeff, I stopped 'playing' with it and removed it..
But I will put it back and play some more. I couldn't see why it shouldn't have worked, but I'm also not that experienced. May have been a typo, or the portal "eval" needs to be relocated.. Will play some more and get back to you..
I dropped the anchor from the portal template and hard-coded the atchgallery template in place of it..
It sees the template, but it just doesn't see the data that way. Top-Left hand side -> Edit: Link removed. No longer relevant. I was thinking of maybe an additional "global" portal_atchgallery template with a manual colspan="2" change, and another eval string (portal_atchgallery) in atchgallery.php and place the anchor in "portal template" might do the trick ?? bit messy though. Don't know enough about it I'm afraid.. But I will keep playing with it just for the fun of it.
Problem solved,
Or patched anyway... I edited atchgallery.php and renamed the functions to include the prefix portal_ and also renamed the titles to include Portal. Renamed atchgallery.php to portal_atchgallery.php and installed it as another plugin. It works fine.... so now I have two different gallery options. I've left the mess in place for you to evaluate so that you can see it actually works... but some anchors really do need to be removed. http://waloc.com/TEST-MYBB/portal.php Ideas! 1. Combine both .php files into one without duplicating unnecessary functions. 2. change this line in the portal_ additions section to reflect where you would like to place it in the default portal template.
3. Add this template into the portal_ syntax block as it is different from the other global template, and in keeping with the space requirements etc...
4. Change the default explanations in the portal_ code to include Portal changes etc. Ramblings: The only thing I've found that is ??? is when trying to collapse the portal insert, it only collapses the one in the header. A very small problem while there are two lots of the same template running at the same time and will no doubt disappear when one is removed.. No more ideas.... It's over to you. Lol! PS: I'll leave the "Mess" in place until you acknowledge this post... then I'll play some more.. PPS: Honest criticism: Installing the gallery into the header is not a good thing.. as it follows one everywhere. Why not install it to the forum index, and let those who wish it elsewhere, to duplicate the anchors. And lastly..................... A GREAT MOD! |
« Next Oldest | Next Newest »
|