Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Daddy ,
hatte auch daran zu knabern ,
es ist ein Fehler in dem "mods_wordlet_install.txt"
nim diesen der funzt !

Nettomo
******************************************************************************
* MOD NAME: Modification Wordlets *
******************************************************************************
* DESCRIPTION: A common file of wordlets *
******************************************************************************
* AUTHORS: DPK & Leshrac & Tovok7 *
* WEBSITE: www.qasic.com/ubbhacks.html ubbdev.com *
* DATE: 10.07.2001 *
******************************************************************************
* REQUIREMENTS: A full version of UBB 6.1+ *
* COMPATABILITY: 6.1.0 Public Beta 2.x *
******************************************************************************
# German: vars_wordlets_mods_de.cgi by Tovok7
# Spain: vars_wordlets_mods_es.cgi by Tulkas
and by Dethmist
# French: vars_wordlets_mods_fr.cgi by tyranausaure
# Greek: vars_wordlets_mods_gr.cgi by stam
# Italian: vars_wordlets_mods_it.cgi by SETIhome ubb Admin

# Step 1
#############################################
# Check your cgi-bin to see if you have a
# file named vars_wordlets_mods.cgi. If you do
# not, upload the file in this zip named
# vars_wordlets_mods.cgi (or use ~_de.cgi
# or ~_fr.cgi instead, but files need to be
# renamed to vars_wordlets_mods.cgi) to your
# cgi-bin and chmod it 777. Proceed to step 3.
# If you do have a file named that already,
# proceed to step 2.

# Step 2
#############################################
# If you do have a file in your cgi-bin that
# is named vars_wordlets_mods.cgi, download and
# open the file.

# find:
%vars_wordlets_mods = (

# insert this below:
statistics_header => "Statistics",
statistics_total_posts => "Total Posts:",
statistics_total_topics => "Total Topics:",
statistics_total_forums => "Total Forums:",
statistics_total_members => "Total Members:",
statistics_average_member_posts => "Average Posts per Member:",
statistics_average_posts => "Average Posts per Forum:",
statistics_average_topic => "Average Topics per Forum:",
statistics_newest_member => "Last member to register is",
statistics_featured_member => "Featured member is",
statistics_last_post_by => "Last post by",
statistics_in => "in",
statistics_at => "at",
statistics_on => "on",
statistics_monthly_hits => "Pageviews",
statistics_pageviews => "Total Page Views:",

# Or use the code blocks from the vars_wordlets_mods_xx.cgi
# file(s), if you want to have another language.
# Proceed to step 4 if you have the wordlet
# controlpanel addon already installed.

# Step 3
#############################################
# We now have to make the ubb understand
# that there is a new wordlet file to edit.

####################
ultimatebb.cgi
####################

# find:

use vars qw(

# add above:

use vars qw(%vars_wordlets_mods);

# find:

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

# replace with:

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

################
cp.cgi
################

# find:

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

# add directly after it (don't forget the space):

wordlets_mods

###################
cp_wordlets.cgi
###################

# find:

&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_err') {

# replace with:

&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_mods') {

%wordlets_fill = %vars_wordlets_mods;

$Hiddens = qq%

%;
$CurrentTab = qq%$vars_wordlets_mods{mod_wordlets}%;

# note: the wordlets are already required... no need to grab them

&CPHeader;
&CPFooter;
&CPTop;
&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_err') {

# find:

if ($in{type} eq 'wordlets') {
%update_wordlets = %vars_wordlets;

# add below:

} elsif ($in{type} eq 'wordlets_mods') {
%update_wordlets = %vars_wordlets_mods;

#########################
cp_common.pl (template)
#########################

# find:

document.writeln("");

# add below:

document.writeln("");

# Step 4
#############################################
# You have now installed the wordlets that
# are required to run this mod, you can now
# proceed and install this hack by reading
# the instructions remaining in the file
# statistic.txt.

#############################################
# Save, Upload, Chmod, Done

Sponsored Links
Entire Thread
Subject Posted By Posted
UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Daddy 12/18/2001 12:01 AM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Nettomo 12/18/2001 4:56 AM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Nettomo 12/18/2001 5:02 AM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Daddy 12/18/2001 4:56 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 martin.away 12/18/2001 7:07 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Nettomo 12/18/2001 7:20 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Daddy 12/18/2001 10:50 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 martin.away 12/19/2001 4:07 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Daddy 12/19/2001 8:25 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 grungelegende 12/21/2001 6:47 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Nettomo 12/22/2001 6:23 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Daddy 12/22/2001 9:26 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 reifegerste 12/25/2001 10:17 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Muc 12/27/2001 5:31 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Nettomo 12/28/2001 8:35 PM
Re: UBB 6.1.0.3 & Whos_Online_v4[1].1.0_b2 Baby_D 01/05/2002 2:18 AM

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
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
Morgan 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 20240506)