#45920
03/19/2001 9:10 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Since a lot of upcoming hacks are going to (or should) include various wordlets, I propose we make it standard that these hacks not add their wordlets to the standard wordlet file, but to an additional one, just for hacks, instead. This would make upgrading to newer versions significantly easier, as you wouldn't have to sort through your wordlet files looking for the ones Infopop added. Obviously there's no built in method for editing these wordlets via the control panel, but that could be easily remedied.
Thoughts?
|
|
|
#45921
03/19/2001 9:23 PM
|
Joined: Feb 2001
Posts: 35
Member
|
Member
Joined: Feb 2001
Posts: 35 |
I think qasic took the initiative and made a separate wordlet specifically for the avatar hack...pretty snazzy if you ask me.
I see your point though, on smaller hacks that only have one or two words used on the UBB it'd be useful to have a 'catch-all' page for the odds and ends...
Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn to see fear's path. Where the fear has gone there will be nothing. Only I will remain.
|
|
|
#45922
03/19/2001 11:47 PM
|
Joined: Oct 2000
Posts: 2,223
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,223 |
Hint: Make a scriptlet to be distributed with all hacks everywhere that use your new hack_wordlet. Run from browser, it opens the old hack_wordlets and appends the new hack's wordlets to it. Snazzy.  Err, I didn't say that, did I  [ March 19, 2001: Message edited by: navaho ]
Picture perfect penmanship here.
|
|
|
#45923
03/20/2001 12:58 AM
|
Joined: Jan 2000
Posts: 41
Member
|
Member
Joined: Jan 2000
Posts: 41 |
Also, it would be rather spiffy if there were a seperate section in the control panel for "Hacks Wordlets." Once that particular add-on was finished, there could be a link to it placed at the top of instructions for other hacks. This would make for some very convenient hacking, I do believe.
|
|
|
#45924
03/21/2001 2:23 PM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
Two thumbs up and a big "aaaaaay!" to Leshrac for proposing this. The biggest problem would be lazy coders, and I'm convinced this is something we at UBBDev need to strickly enforce if people want their hacks to be part of our database: The biggest worry is that people name their hash keys stupidly general things, like: $wordlets_hack{'reply'} if we go for this standard, something like that shouldn't be allowed anywhere NEAR the database IMO. We have to be consistent, and use the name of the hack there somewhere to avoid repetition. eg $wordlets_hack{'myhack_reply'} navaho: Thanks, that's a great idea to write into the vinkulum. 
|
|
|
#45925
03/21/2001 3:42 PM
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
I think Borg's idea of hackname_key is a great suggestion if this idea goes through. Other code hackers opinions on this?
q
|
|
|
#45927
03/21/2001 4:02 PM
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
|
|
|
#45928
03/21/2001 4:35 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Sorry about that, Allen, I didn't see your thread on this.  Borg's idea is a good one, I was thinking the same thing myself. navaho has a good idea as well, hackers could just put all the wordlet keys and values into a separate file, and then a universal script would insert them into the hacks wordlet file, and make sure none of the keys were being duplicated.
|
|
|
#45929
03/21/2001 4:44 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Well ok then.. all a body wants is a lil recognition...  Not to disparage anybody, but anything that can be setup and done automagically as in this script that would insert the keys and values would prevent a lot of goof-ups... I am for that too. 
|
|
|
#45930
03/21/2001 4:47 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Oh yeah, forgot my word to use too... it would be "groovy" ![[Linked Image]](http://www.stand318.com/ubb/smilies/jason.gif)
|
|
|
#45931
03/21/2001 5:22 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
This sounds like an excellent idea. It would really make things alot easier, which I'm always for. 
|
|
|
#45932
03/21/2001 6:17 PM
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
so who will make the script to auto insert the wordlets? any volunteers? 
|
|
|
#45933
03/21/2001 6:26 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Well, I could write something up, shouldn't take long.
|
|
|
#45934
03/21/2001 6:46 PM
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
i added this to my mod i was making: Now to summarize... Leshrac, could you make the script check to see if the wordlet file is already on the server, and if not, create it. Then it would add the wordlets. Then it would display to the user instructions on where to add require code, and some other menu code in order to finish installing wordlet file if not already installed.  Leshrac: great idea you had.  [ March 21, 2001: Message edited by: DPK ] [ March 21, 2001: Message edited by: DPK ]
|
|
|
#45935
03/21/2001 7:20 PM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
Like this?  This would also create the keys+default values if they didn't exist in the hash. I'm using the same thing for for something else I'm writing (unrelated to wordlets). [ March 21, 2001: Message edited by: Borg ]
|
|
|
#45936
03/21/2001 7:30 PM
|
Joined: Mar 2000
Posts: 41
Member
|
Member
Joined: Mar 2000
Posts: 41 |
Thought we used the word 'mod' as opposed to 'hack'. ?? 
Keep smilin
|
|
|
#45937
03/21/2001 7:32 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
true.. we might at least consider "mod" as opposed to "hack"... quick work elliott... 
|
|
|
#45938
03/21/2001 7:44 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
One problem, you won't be able to create the hack wordlet file from scratch, since the variables directory isn't set as writable. I tried this with the Memberlist hack before, and ended up having to distribute a basic setup file along with the hack in order to be able to write to it. The other alternative is creating the wordlet file in another directory, but that's not very desirable.
|
|
|
#45939
03/21/2001 7:46 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Okay let's go a few steps further. We are global, so is our audience, soooooooo wouldnt' you need to make wordlets in several languages? I noticed the language box in one of the cp sections, so it stands to reason, choose this langauge, get these wordlets..
Since we are defining terms here, this type of dedication in programming would separate "hackers" from "software engineers"
[ March 21, 2001: Message edited by: DCF ]
|
|
|
#45940
03/21/2001 10:33 PM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
@ragorn: (Who are you, BTW?) I gave up after noone else would, and everyone thought I was talking about "moderators".  Leshrac: Just stick a chmod (0777, "$vars_config{VariablesPath}/"); before the write and an appropriate CHMOD after. 
|
|
|
#45941
03/22/2001 2:09 PM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
That is both dangerous and impractical.
unless(-e $filepath) { die "You lack vars_wordlets_hacks.cgi. Please view the README included with this hack for instructions on uploading it and setting permissions on it."; }
Well, using UBBish code at least.
UBB.classic: Love it or hate it, it was mine.
|
|
|
#45942
03/22/2001 5:06 PM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
You think we should make vars_wordlets_hacks.cgi a compulsory download (maybe included in other distributions) then? Ok, I'm all for it..
|
|
|
#45943
03/22/2001 5:07 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
That would be the easiest, most likely, and leave less roon for error.
|
|
|
#45944
03/22/2001 5:11 PM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Assuming the user is not clueless enough to upload the stock version.
UBB.classic: Love it or hate it, it was mine.
|
|
|
#45945
03/22/2001 5:14 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
That's assuming quite a bit,  For those, I would hope they choose an easier install method... *cough*vinkulum*cough*
|
|
|
#45946
03/22/2001 5:15 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I see the support requests coming in now..
|
|
|
#45947
03/22/2001 5:48 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Seems a lil square one planning might be in order. First narrow your sights, decide whom your target audience is. In programming class we were taught to write like the least versed about computers and software or in this case the UBB was going to use it.
(Side note: I think Hacks is negative in connotation as Allen has echoed several times.)
Is this a further progression in what was once called the vinkilum? If so, then you're establishing a sub format then. The primary being the coding needed to create said works, and the sub being the format in which it's used.
In my long winded way, I'm trying to stress that with so many hacks/mods being created, will those outside this conversation be expected to follow or will they be required (if they don't comply their mod isn't posted here?)
Clearly there are a lot of top flight programmers here, and those like myself that get lucky once in a while. I am not saying anything against this, but how it is implemeneted could be crucial to the growth of the board.
.
(Slides soap box back under the counter)
|
|
|
#45948
03/22/2001 6:02 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Would be easy enough to make it a requirement to make it into the "finished" forum, and the database... would remain beta until then. Those in the finished forum that contain wordlets could be easily updated for this, since we are in the beginning stages.
|
|
|
#45949
03/22/2001 6:06 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
That would work, and give young programmers something to strive for and inturn sharpen their skills and learn more. A win win situation.  [ March 22, 2001: Message edited by: DCF ]
|
|
|
#45950
03/23/2001 2:26 AM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Bah, ferget that outdated unsupported idea.. Modules are the Future...
UBB.classic: Love it or hate it, it was mine.
|
|
|
#45951
03/23/2001 3:06 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I thought templates are the future? Did I miss the template era already? 
|
|
|
#45952
03/23/2001 7:28 AM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
We don't want EVERYTHING to be un-editable binary CC, and what about the stuff that integrates into the UBB, rather than pluggin in beside it?
*beats Allen with a foam bat for mentioning the "T word"*
Templates are the future for layout and design, not functionality.
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|