271
Nick_James
Re: Weather 1.3 stopped working

How do you change the default file?

Well, first you need to know the weather code for your default station. If you look in the sql folder for the file named vlweather it contains the list of all the stations it will populate the table with.

If you want to limit the program to just local weather, then delete all of the international and out of state locals BEFORE installing the program.

Then edit the xoops_version file and change the block options to the prefered default station.
Nicholas James
President - LaDads
www.ladads.info



272
Nick_James
Re: Weather 1.3 stopped working

Let me fix the name. The icon said phpWeather. But the upload said vlWeather.

Try that link again
Nicholas James
President - LaDads
www.ladads.info



273
Nick_James
Re: Weather 1.3 stopped working

I am using vlWEATHER 0.9 (www.ladads.info)

Link to module

It works very well since I got it installed in 2006.
Nicholas James
President - LaDads
www.ladads.info



274
Nick_James
Re: [MULTIMENU] Navigation and menu manager - version 2.0 for test

I am still on 1.8.

When I upgraded to 'zetagenesis', I could not figure out how to switch the code to get my horizontal dropdown menu to work again.

Is this explained in 2.0?
Nicholas James
President - LaDads
www.ladads.info



275
Nick_James
Re: content modules - how do you get them to work

Could it be a permissions problem.

Check GROUPS and make sure you have permissions set right for the new module.
Nicholas James
President - LaDads
www.ladads.info



276
Nick_James
Re: NewBB changing default number of days displayed

They are the same



Oh duh!!! Now I feel extremely stupid. I went through that preference section many times. How did I not see that before?!?

Okay, I changed the value to '0' which defaults it to all of the posts. I then got rid of most of the other options - searching by hours and limited it to 1 week; 1 month; 1 quarter; 1 year; 2 years & 4 years.

THANKS. :)
Nicholas James
President - LaDads
www.ladads.info



277
Nick_James
Re: Groups

Didn't find it yet.

I did find this post by Xgarb that looks promising:

Quote:

I've pretty much achieved what I wanted. Possibly not the prettiest way to do this but here's what I did..

I created a new user group and gave it view permission for all the advert blocks. I then removed view permission for those blocks from the registered users group.

Now I need to copy all registered users into the new group so they continue to see ads.

---------

The following SQL

SELECT uid FROM your_db_prefix_groups_users_link WHERE groupid = 2

gives you a table of all registered users

exporting to SQL gives rows like this..

INSERT INTO `your_db_prefix_groups_users_link` VALUES(1);
INSERT INTO `your_db_prefix_groups_users_link` VALUES(5);
INSERT INTO `your_db_prefix_groups_users_link` VALUES(8);
etc.

I copied this into Dreamweaver and did the following find and replace...

find VALUES( replace with (groupid,uid) VALUES (4,

to give

INSERT INTO `your_db_prefix_groups_users_link` (groupid,uid) VALUES (4,1);
INSERT INTO `your_db_prefix_groups_users_link` (groupid,uid) VALUES (4,5);
INSERT INTO `your_db_prefix_groups_users_link` (groupid,uid) VALUES (4,8);
etc.

Importing this to my database adds all registered users to the usergroup id 4 (the basic usergroup that sees ads)

so now all those members are seeing ads again.

-----

Now I need to get all new signups to see the ads as well so in modules/smartprofile/register.php I added the following line..


return _PROFILE_MA_REGISTERNG;
}
//line below is my hack to add new user to basic member group
$member_handler->addUserToGroup(4, $newid);
if ($xoopsModuleConfig['activation_type'] == 1) {


around line 188

---------

to remove subscribers from group id 4 (so they don't see adverts) I added the following line to the end of the addUserSubscription in include/functions in the subscription module from Third Eye.


$deletesql = "DELETE FROM " . XOOPS_DB_PREFIX . "_groups_users_link WHERE groupid = 4 AND uid = $uid"; // my hack to remove subscriber from basic member group


I've not tested the last part but the rest seems to work ok.

Posted on: 4/18 13:35
Nicholas James
President - LaDads
www.ladads.info



278
Nick_James
Groups

How do you add a bunch of people to a group at once?

N.
Nicholas James
President - LaDads
www.ladads.info



279
Nick_James
Waiting Module and NewBB

I am using the Waiting Module 0.95. www.bfhsa.info

The NewBB 3.06 shows 22 items waiting for approval. However, I can not figure out how to find any posts that are pending?

Any ideas.
Nicholas James
President - LaDads
www.ladads.info



280
Nick_James
NewBB changing default number of days displayed

How do we change the default number of days that are displayed in NewBB?
Nicholas James
President - LaDads
www.ladads.info




TopTop
« 1 ... 25 26 27 (28) 29 30 31 ... 33 »



Login

Who's Online

98 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 98


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits