1
sinus
Re: Xoops SMF/phpBB bridge
  • 2006/7/5 9:24

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


thanks for your reply guys.
i know i should test out both before asking BUT im going to ask anyway :)
For the SMF Bridge
1) the SMF bridge, do i need to hack the XOOPS Core?
2) in http://www.simplemachines.org/community/index.php?topic=63183.0 for SMF, it says that I hide the XOOPS default login, does the rest of the user permissions; like the admin and normal users get affected?
3) will SMF use the same user database used in Xoops? or does it copy all existing users in XOOPS and transfer them into SMF?

For the PHPBB hack
1) does it use the same user database used in Xoops? or does it copy all existing users in XOOPS and transfer them into SMF?

i want to use SMF. but i am trying to weigh out which is better (SMF or the PHPBB hack) - in terms of XOOPS integration... basically what i want is a seemless integration of the forum (especially the user accounts)... i would not mind having to redesign the SMF/Phpbb template. since i want it to load separately and not wrapped around in XOOPS like a module...



2
sinus
Xoops SMF/phpBB bridge
  • 2006/7/5 8:41

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


Hello,

is there a XOOPS SMF/phpBB bridge available?
i just want the usernames/passwords to autologin into SMF/phpBB. i dont mind having to configure SMF/phpBB separately.

also, it is possible to have latest posts on XOOPS frontpage?

thanks so much.

will appreciate any reply :)

cheers!



3
sinus
Re: Article module?
  • 2006/5/1 2:12

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


Quote:

brash wrote:
Quote:

sinus wrote:
i am so frustrated looking for the pagebreak in AMS... it just does not work... i tried putting in [pagebreak] but it wont work...

how do i separate a page into multiple pages using AMS?


With AMS you must use the [extend] tag before you use the [pagebreak] tag. All [pagebreak] tags placed before the [extend] tag will be ignored.


oic... thanks ;) but i have already uninstalled AMS :( anyways, on next projects, i shall try it out again. as of now, i like the straight forwardness of Articles...

cheers all!



4
sinus
Re: Article module?
  • 2006/4/30 14:38

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


nice! thanks so much. it works like charm... easier to use and more straight forward... would like to have some Spotlight blocks though... still, if i were to rate this module(for articles), i'd give it 8/10 stars! and its not even V1.0 yet



5
sinus
Re: Article module?
  • 2006/4/30 5:07

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


i am so frustrated looking for the pagebreak in AMS... it just does not work... i tried putting in [pagebreak] but it wont work...

how do i separate a page into multiple pages using AMS?



6
sinus
Re: smarty variable for groups in a welcome block
  • 2005/12/9 5:13

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


i need to do this to the template too... theme.html
what if we need to do it without using a module?
where do we put the code?



7
sinus
adding user using Snoopy
  • 2005/9/23 2:53

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


Hello,

i wanted to add a user in XOOPS using Snoopy class found at: http://sourceforge.net/projects/snoopy/

i was able to successfully login as admin using this code.. but when i got into the AddUser page and then submitted, i got a message "Taking you back to where you were....":
include "Snoopy.class.php";

$snoopy = new Snoopy;

$submit_url "http://myxoopssite.com/user.php";

//these are the form elements
$submit_vars["uname"] = "admin";
$submit_vars["pass"] = "secret:P";
$submit_vars["op"] = "login";
$submit_vars["xoops_redirect"] = "/user.php";
$submit_vars["submit"] = "User Login";

if(
$snoopy->submit($submit_url,$submit_vars))
    {
        while(list(
$key,$val) = each($snoopy->headers))
            echo 
$key.": ".$val."
n"
;
        echo 
"

n";
        
        echo 
"

".htmlspecialchars($snoopy->results)."
n"
;
        
//echo $snoopy->results;
    
}
    else
        echo 
"error fetching document: ".$snoopy->error."n";


//do this so that the cookies/something remains after login...
$snoopy->setcookies (); 

$submit_url="http://myxoopssite.com/modules/system/admin.php";
//$submit_url="http://myxoopssite.com/modules/system/admin/users/users.php";
$submit_vars['username']="aaa_test";
$submit_vars['name']="This is the first name of the test user";
$submit_vars['email']="aaa_test@nemco.edu.ph";
$submit_vars['umode']="nest";
$submit_vars['uorder']=0;
$submit_vars['notify_method']=1;
$submit_vars['notify_mode']=0;
$submit_vars['timezone_offset']=8;
$submit_vars['user_mailok']=1;
$submit_vars['password']="aaa_test";
$submit_vars['pass2']="aaa_test";
$submit_vars['fct']="users";
$submit_vars['op']="addUser";
$submit_vars['groups']=2;
//$submit_vars['XOOPS_TOKEN_REQUEST']="700bb7cce1f7e90e73a4fb50b6f9e338";
$submit_vars["submit"] = "Submit";

$snoopy->setcookies (); 
if(
$snoopy->submit($submit_url,$submit_vars))
    {
        while(list(
$key,$val) = each($snoopy->headers))
            echo 
$key.": ".$val."
n"
;
        echo 
"

n";
        
        echo 
"

".htmlspecialchars($snoopy->results)."
n"
;
        
//echo $snoopy->results;
    
}
    else
        echo 
"error fetching document: ".$snoopy->error."n";
?>

im thinking that it has something to do with the XOOPS Token system... how do i go around it?



8
sinus
Re: latest news by topic like in xoops.org
  • 2005/8/14 3:01

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


@gediminasbyt
hello im sorry for the vague instructions. i left the code at work, i will probably post it sometime monday... btw, im tracking this thread so that i wont forget ;)



9
sinus
Re: latest news by topic like in xoops.org
  • 2005/8/4 13:35

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hello,

i will post the steps how i came up with something close to what xoops.org has. it a bit confusing. i am tracking this thread, so i get an email everytime someone replies here i will be doing a documentation about it for sure in at max 2 weeks time since i will be using it for 2 XOOPS sites...

i used the following modules:
1) News Blocks - allows you to have 6 different news blocks
2) Group permission module

sorry about the details. i am a bit busy on other stuff. hope you understand



10
sinus
Re: latest news by topic like in xoops.org
  • 2005/8/2 1:04

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hi.
i have come close in making something like that above.
i basically made my own file and inserted a new block and then placed the file in an iframe... then placed a javascript in xoops.js for the iframe height resize...

anyone want the codes? :)




TopTop
(1) 2 3 »



Login

Who's Online

181 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

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

Latest GitHub Commits