71
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/24 14:36

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Quote:

ghia wrote:
The image is not accessible. Try to explain what you want.


Hi ghia,
I have sorted out the image and its now accessible to show what i mean. Pls find some help.



72
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/23 18:48

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Any help?



73
bumpeboy
Re: SMF to Xoops converter.
  • 2009/10/19 16:49

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Quote:

ghia wrote:
See this.


Hi ghia, thanks for response, before starting this topic i had done a proper search on xoops. I saw that thread i download it but its not clear and it doesnt even work, its after trying that script that started the topic. So count that out.



74
bumpeboy
SMF to Xoops converter.
  • 2009/10/19 12:45

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


I have a forum website running on Simple Machines 1.1.10 and would like to migrate all my 5000 registered users to my new XOOPS site, is that possible and how? I need at least the users login details i can do without the posts but that will be appreciated too.



75
bumpeboy
Re: SMF CBB 3.08 converter
  • 2009/10/16 23:33

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4




I have tried this but the READ ME aint clear at all.

Step 1- Somehow clear.

Step 2- Very clear

Step 3- Very clear


Step 4- Not clear at all, what do you mean by,

Run:
-members.php
-categories.php
-forums.php
-topics.php
-posts.php

I have them on the PC folder, so to where do i run them, do you mean to Upload them on the server or what? and if thats the case, then to where, is it to my newly installed XOOPS or to my old SMF, either way to which folders?

Step 5- Clear
Step 6- Clear

Step 7- Left hanging, you say thats all, so what do i do with the files thats i have changed above.




I need help here from someone please.

Thanks


BELOW IS THE READ ME FILE:::::::::::::::::::::::::::::::::


Quote:
SMF v1.0.x -> XOOPS 2.3.X/CBB 3.08
-----------------------------


Requirements:
- SMF 1.0.X (tested with SMF 1.07)
- XOOPS 2.3.X and CBB 3.08
- MySQL 4.X or higher
- 15 free minutes

The scripts do tranfer the user signatures as well, but the images in there aren't allways shown right. Inform your users to alter them or hack the scripts so you won't transfere them.
Avatars are not transfered due to Xoops's odd way of handling them, get your users to upload them again.

How to import
-------------
Step -10000:

ALLWAYS MAKE A BACKUP OF YOUR XOOPS INSTALLATION AND DATABASE.

Step 1:

First you have to do a clean installation of XOOPS 2.3.x and the
CBB 3.08 module. Make sure you don't create aditional users, else delete them in the XOOPS database with "delete from prefix_users where uid > 1" because it won't transfer the first user from SMF as that is the first user and normaly the admin user, the scripts do however transfer the topics and posts created by this user.

Step 2:

Empty these tables:
-prefix_bb_categories
-prefix_bb_forums
-prefix_bb_posts
-prefix_bb_posts_text
-prefix_bb_topics
-prefix_bb_reads_forum
-prefix_bb_reads_topic

Don't delete them, only empty :).

Step 3:

Now you have to make proper changes in config.php file (database name,
username, password, table's names).

Step 4:

Run:
-members.php
-categories.php
-forums.php
-topics.php
-posts.php

Step 5:

SMF uses a different password encryption level based on SHA1, XOOPS uses MD5 encryption.
To have XOOPS use the SMF SHA1 hash some core files have to be hacked.
Becarefull you can ruin a lot in these files so only do whats in this file.

edit /xoopsdir/kernel/member.php
Find the function &loginUserMd5

Add this function above or below it.

/**
* Logs in a user with a SHA1 SMF password
*/

function &loginUserSha1($uname, $pwd)
{
$smf_hash = sha1(strtolower($uname) . $pwd);
$criteria = new CriteriaCompo(new Criteria('uname', $uname)); $criteria->add(new Criteria('pass', $smf_hash));
$user = $this->_uHandler->getObjects($criteria, false); if (!$user || count($user) != 1) {
$user = false;
return $user;
}
return $user[0];
}

Save the file and close it.

Next edit /xoopsdir/class/auth/auth_xoops.php

Replace:

function authenticate($uname, $pwd = null) {
$member_handler =& xoops_gethandler('member');
$user =& $member_handler->loginUser($uname, $pwd);
if ($user == false) {
$this->setErrors(1, _US_INCORRECTLOGIN);
}
return ($user);
}

With:

function authenticate($uname, $pwd = null) {
$member_handler =& xoops_gethandler('member');
$usermd5 =& $member_handler->loginUser($uname, $pwd);
$usersha1 =& $member_handler->loginUserSha1($uname, $pwd);

if ($usermd5 == false OR $usersha1 == false) {
$this->setErrors(1, _US_INCORRECTLOGIN);
}


if ($usermd5 == true) {
$user = $usermd5;
}

if ($usersha1 == true) {
$user = $usersha1;
}


return ($user);
}


Safe the file and exit.

Step 6:

Empty the caches in the folders:

xoops_data/caches/smarty_cache
xoops_data/caches/smarty_compile
xoops_data/caches/xoops_cache

Don't delete the .htaccess files in there and the index.html files.

Step 7:

Actually, that's all!
.




76
bumpeboy
How can i delete the NEW Topic image.
  • 2009/10/16 19:35

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Hi all,

I think there is a way of removing the new post and poll image from those viewing the forum coz i dont want people to have a chance of starting new topics there.
I have attached an image to show what i mean.
Resized Image

If you look properly you can see the forum is UK and all others are subforums.

I dont want guys to start topics here but only inside the subforums.
Thanks in advance.



77
bumpeboy
Re: New topics on Subforum only. (CBB 3.08)
  • 2009/10/16 19:29

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Hi,

Quote:

ghia wrote:
/modules/newbb/admin/admin_permissions.php
.


I have gone to here but what should i edit there?



78
bumpeboy
Re: New topics on Subforum only. (CBB 3.08)
  • 2009/10/14 23:58

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Thanks Ghia,
I was there on the Permission management tools but when i select who can post There is no option of selecting the subforum alone, when i tick or untick the subforum it does the same to the forum.



79
bumpeboy
New topics on Subforum only. (CBB 3.08)
  • 2009/10/14 22:27

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


I know the subject of my post is not understandable but i don't have other words.

I have created my forums in the order below.

- Category -Europe
- Forum - UK (Cannot start a new topic)
- sub Forum - London (Can start a new topic)

I would like to restrict people from starting new topics under the forum on the 2nd level where UK is but they can post only in the Sub forums.

How can i go about it?

Cheerz



80
bumpeboy
Re: Changing disclaimer on index page
  • 2009/6/9 23:19

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Thanks nmshah,
But how can one integrate a HTML page there?
Xoops is immortal.




TopTop
« 1 ... 5 6 7 (8) 9 10 »



Login

Who's Online

231 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

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

Latest GitHub Commits