Mod Name / Version: Finished-[6.5] Popup Graemlin Panel
Description: Allows you to limit the number of graemlins to be displayed on the posting pages and gives a link to click "More Graemlins" for a pop-up window where you can select from additional graemlins.
Working Under: UBB.Threads 6.5
Mod Status: Finished
Any pre-requisites: UBB Threads v6.5
Author(s): JustDave
Date: 05/26/04
Credits: JoshPet, AllenAyers & Astaran, Scroungr for bug fixes and updates
Info/Instructions: Essential to keep page load times down and your layout clean if you have lots of graemlins
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
##ADDED Graemlins to Quickreply Box.
##ADDED WHERE G_Active='1' for active Gramelins only
I see that showflat.tmpl and showthreaded.tmpl aren't included on the changed files list. Will this be updated to add the "More Graemlins" link to the new stock Quick Reply boxes?
Im getting this error when I click on the "more grams" link in the quick reply and in the post or reply pages.
Code
Warning: main(includes/hack.inc.php): failed to open stream: No such file or directory in /home/leetgame/public_html/graemlinpanel.php on line 21<br /><br />Fatal error: main(): Failed opening required 'includes/hack.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leetgame/public_html/graemlinpanel.php on line 21<br />
well then point it to main.inc.php instead.. we are tossing around the idea of making a standard hack.inc.php so we won't always have to change things.. so just point it to main.inc.php
My instant greamlins don't show up. I don't see a specific screen that says themes in the control panel. I do see a max greamlin list and have set it to 10.
Trying to setup a threadsdev user but can't verify my fake email account .. see the need for a mod.
How would I go about making them load in multiple pages instead of one major page. the 56k'er are starting to complain that the page loads slow. If it would load like 20 on a page and have something like (1/2/3/4/5) on the bottom as pages they can click to view the other grams.....
Imthinking about setting up something like here that has them listed in a section. then they can just use the image tag and put the location of the smiley.
It would be nice if it were like the style sheets and saw every thing in the directory?! Then allow me to go thru and edit/delete & assign code. & order.
Ok I what I did was this... I downloaded the contents of the w3t_Graemlins table to see how it is formatted. What I did then was upload all my files to the graemlin folder. Then I used my terminal app to capture a list of all the file names in that folder. I converted it and imported it into FileMaker. Then added some strings to recreate the necessary insert lines. for each of the 475 new graemlins. Then i exported the file and tweaked it a bit in bbedit. then backup my original. I uploaded the new file. It worked too well All 475 graemlins were there it took forever to see all of em in the CP so finally when it loaded i went through and deleted almost half as many were dups and or just vulgar or dumb.
But it isn't too terribly hard to do a bulk upload.
But now I need a way to delete all the unused graemlins in the folder that are not in the db? I thought the script would delete the graemlin like it does for the post icon? but I guess not.
Did anyone get the pop up page to be able to split into multiple pages. Would work if you have about 30 or 40 even 100 images that have to load in the popup. If it was able to display something like 20 per page (or whatever) and add 1|2|3|4| to the bottom to link the other pages.
It might have been 2086, come to think of it. I re-uploaded the original file, however, and the forum is back to normal without the modification. I will have another go at editing the file, and see if I still get the error
We've installed this mod and it works very well. We have one small problem though. The "More Graemlins" link has (it seems) appeared in a table header, with our table header background color. Also, the link is barely clickable - you have to get the mouse in a 1 pixel area at the bottom of the link text.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.