Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Hack Name: Modification Wordlets

Author: Leshrac and DPK

Download URL: http://www.qasic.com/ubbhacks.html

Notes: Redistribution of this file in whole is permitted as long as all copyright and author notices remain intact.

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Sorry, What does this hack do? Just asking... smile

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It adds support to %vars_wordlets_mods (the modifications' Wordlets™)

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Is a devkit version of that hack planned?

The current one is only for the Who's Online Hack and if I want to modify it I'd need to alter your code.

And what 'bout the automatic install? I don't like that, it should be possible to get rid of that if wished.
In ultimatebb_mod_wordlets_install.cgi in line 191 it says "UBB 6.1 not deleted." but I think U mean detected.
What happens if there is already a vars_wordlets_mods.cgi with values of former hacks in it?

Why don't you use the current "use vars" command in ultimatebb.cgi? Instead you create a new one.

Just improvement suggestions smile
Tovok7

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Quote
quote:
Pretty easy to do. Just find the WOL wordlets, delete them and add your own. I don't plan on making the devkit but you're more than welcome to based upon my files (or Jordo's for that matter).

Quote
quote:
There are manual instructions inside the ReadMe too.

Quote
quote:
Quote
quote:
It gets overwritted. Later versions will allow you to specify whether you want us to overwrite it or not.

Quote
quote:
Just in case the beta cycle messes with thos variables.

qasic

Sponsored Links
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
What I miss is the support for a prepared vars_wordlets_mods.cgi file and for other files with different languages which I call vars_wordlets_mods_de.cgi or vars_wordlets_mods_it.cgi

The solution in the former devkit (STEP 1, STEP 2, ...) was sufficient but the current one isn't for developers it is a wordlet installation tool for the Who's Online Hack and nearly useless for other hacks.

Quote
quote:
But I think they will change the "use UBBCGI::Carp qw(fatalsToBrowser set_message);" as well.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
no...

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
A copy of Qasics new version of the mod can also be obtained at:

http://dpk.b000.net

(yes folks, its new and improved, its my download center version two! ok that was sappy, sorry. tipsy

[ July 31, 2001: Message edited by: DPK ]

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
My file has been updated as well (same as DPK's). This version checks to see if there already exists a vars_wordlets_mods.cgi and will not overwrite it if such a file exists.

qasic

Joined: Aug 2001
Posts: 41
Member
Member
Offline
Joined: Aug 2001
Posts: 41
i have failed to get the "Modification Wordlets v1.0" to work right on the release of the 6.1.0 b2 any suggestions?

Sponsored Links
Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
Yes I'm quite surprised that nobody has bothered to update the default mod_worldlets install file. However I suggest you download 'Whos Online' for v6.1 as it has a more up-to-date version, although I've had problems with that one as well.

Joined: Aug 2001
Posts: 41
Member
Member
Offline
Joined: Aug 2001
Posts: 41
yes ive installed that and it works, but you can not see the *mods in the cp for some reason. as well the who is does not work in the php, hope its ported over soon. its like damn you can jhust do an

include("/www/jpdatabase/cgi-bin/ubb/ultiomatebb.cgi?whosonline");

I wish but the php can not ex. a cgi command, ive tried and nothings worked.

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
Code
code:

I don't have that line on cp.cgi......
&RequireVars("$vars_config{VariablesPath}/vars_wordlets_date.cgi");

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Hi all,

1) Use the wordlets in the Who's Online - it's updated for Beta 1.2.

2) mark99, you state that you have trouble getting the Modification Wordlets in your control panel. Please e-mail me your cp.cgi file so I may take a look at it. Thank you.

qasic

Joined: Mar 2001
Posts: 83
Member
Member
Offline
Joined: Mar 2001
Posts: 83
Small bug for wordlets in the Who's Online:

Mod_Wordlets_ReadMe.txt

wordlets_cp wordlets_err wordlets_mod

it should read

wordlets_cp wordlets_err wordlets_mods

Joined: Nov 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 33
Ihave the same problem as CLICK

that line does not exist in a fresh install of version 6.1.0.2

Joined: Feb 2001
Posts: 125
Member
Member
Offline
Joined: Feb 2001
Posts: 125
Quote
quote:
Me too confused

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Code
quote:</font><hr>Originally posted by click:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:

I don't have that line on cp.cgi......
&RequireVars("$vars_config{VariablesPath}/vars_wordlets_date.cgi");



That looks like something out of the earilest betas of 6.1. It's not up to date. What you should do in cp.cgi is this:

# find:

wordlets_cp wordlets_err

# replace with:

wordlets_cp wordlets_err wordlets_mods

Joined: Jun 2001
Posts: 56
Member
Member
Offline
Joined: Jun 2001
Posts: 56
Ah...Got it finally working 100%... If anyone wants this manually hand-added hack that works, you can get it here: Modification Wordlets for 6.1.0.2+ Qasic, you can have this debugged hack for your page if you'd like so it will be updated for people to use.

I take absolutely no credit for the making of this great hack..All I did to make it work was change where a line of code goes in ultimatebb.cgi, add a missing "s" in a line of code in cp.cgi, corrected a line of code in vars_wordlets_mods.cgi to be compliant with the new code, and updated the readme text file for installation of this mod.. I also included the vars_wordlets_mods.cgi file that needs no editing on initial installation. This should now take care of the cp problem where the wordlet listings were not showing. Again, this hack should now be 100% working and hopefully no longer a modification in beta.

If there are any problems, please give feedback here.. Thanks, torn..

[ 11-17-2001: Message edited by: TorN ]

Joined: Oct 2000
Posts: 109
Member
Member
Offline
Joined: Oct 2000
Posts: 109
Thanks TorN,

It works now!!

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
please help ..
i guess i screwed up my mod wordlets....
i tryed to hack again.. but i can't find &RequireVars("$vars_config{VariablesPath}/vars_wordlets_date.cgi"); at cp.cgi .....

can anyone help?

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
Either get qasics updated version by torn here or try a different release at here .

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
i tryed yours DPK... doesn't work with me...

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
You need to find this in cp.cgi...

# Open cp.cgi (In Cgi-Bin)
# Find
use UBBCGI::Carp qw(fatalsToBrowser set_message);

# Insert This Directly After It
use vars qw(%vars_wordlets_mods);


# Find
foreach my $file (qw(display misc email time search pm registration template_match wordlets wordlets_cp wordlets_err wordlets_img wordlets_date)) {

# Replace It With
foreach my $file (qw(display misc email time search pm registration template_match wordlets wordlets_cp wordlets_err wordlets_img wordlets_date wordlets_mods)) {

---------------
The code you were trying to find was from a old version.

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Okay, I'm having some genuine problems working with this hack.

In the ultimatebb.cgi, it says to find
Code
[/code]

I cannot find that line.

The closest that I can find is this:
Code
</pre></div></div><br><br>I'm supposed to replace the first set of code with this:<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>


Should I replace what I have--even though it doesn't match?


Also, in the cp.cgi file, I'm supposed to find --
Code
</pre></div></div><br><br>and add below it this line<br><br>[code]

I cannot find anything even close to the first line I'm supposed to find.


I've upgraded my board to the newest release; I was working on installing the "Last reply by" hack -- and have it installed, except for those words Last reply by

Allen said I needed to install this hack to get it to work.

Anyone with ideas of what I need to do?

Thanks.


Sue
adwoff.com
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
did you try DPK's 1.5 version?

Also... your lines are different because you installed the calendar hack already... just add the differences in the line to the other, it's just a word or 2...


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Thanks, Allen. I really appreciate your patience with this.


Sue
adwoff.com
Joined: Jun 2001
Posts: 56
Member
Member
Offline
Joined: Jun 2001
Posts: 56
ADWOFF:
First of all, download my updated version of Modification Wordlets Dev Kit by qasic (See my previous post above for the link) The only thing you'll do different from the Dev Kit instructions is the following below:

In ultimatebb.cgi, this is the line of code you will use:

Find:
foreach my $file (qw(display misc email time search pm registration template_match wordlets wordlets_err wordlets_img wordlets_date wordlets_calendar)) {

Replace with:
foreach my $file (qw(display misc email time search pm registration template_match wordlets wordlets_err wordlets_img wordlets_date wordlets_calendar wordlets_mods)) {
----------------------------------------------
I see what you did.. You added the calendar hack and thats what changed this line of code in your ultimatebb.cgi That's the reason you could not find it..Do you see the code "wordlets_calendar" at the end of this code as opposed to the original line of code in ultimatebb.cgi?? So, really, the only thing you are now doing in this Modification Wordlet Dev Kit hack is adding "wordlets_mods" to this line of code. That's all you're doing!! All I did with this code is place my curser after the "r" in "wordlets_calendar", hit my spacebar once (notice all files in this line of code are one space apart), then typed "wordlets_mods" after it..

Try analysing, rather than looking at, lines of code you are attempting to hack..Try to understand and decipher how it is written and the format it is written in..
Hope this helps,
TorN

[ 12-11-2001 07:17 PM: Message edited by: TorN ]

Joined: May 2001
Posts: 197
Member
Member
Offline
Joined: May 2001
Posts: 197
All I get is this !!

PLease help !!!

[Linked Image]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Rehack cp.cgi.

Joined: May 2001
Posts: 197
Member
Member
Offline
Joined: May 2001
Posts: 197
Lk thanks a lot man !!!

I had

wordlets_cp wordlets_err wordlets_mod

all I did is adding the s at mod now it work good !! thanks !


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)