171
ajaxbr
Re: PHPBB and Xoops coexisting in the same database with the same users etc...
  • 2004/5/28 23:59

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


While I don't agree 100% with them (hardly 30% ), these guys at phpBB Area 51 have some interesting points... it might an issue a tad more important than we (the CMS crowd) expect it to be: who would benefit more from a integration effort, forum makers or CMS makers?

If it became extremely easy to wrap your standalone forum in a great CMS AND to include a full featured standalone forum into your CMS... how many new forums and how many new CMSs installations should we expect? I'd say we'd have a lot more new CMSs than new forums.

But then, how many users can a single forum or a single CMS instance serve? That plus the fact that we will soon have a fantastic new newBB (thanks a lot Predator and all devs) are the reasons I won't try to sell the idea of making XOOPS easier to wrap around standalone apps (like ErfurtWiki)... for now

[size=xx-small]Besides that... this was also a flag of the incredible Solomon Tulbure. And I mean incredible in a very pejorative way...[/size]



172
ajaxbr
Re: "Printer Friendly" logotype
  • 2004/5/13 15:57

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


matsberg: try yourxoopsroot/images/logo.gif

fredski: for news, wffaq and wfsection, printer friendly pages' layouts are hardcoded in a print.php file (like modules/news/print.php). Editing them is easy and shouldn't break anything. I'm not sure about TinyContent.




173
ajaxbr
Re: Bringing in rss feeds into headlines make the site noncompliant
  • 2004/5/10 21:11

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi there phillipd

You might want to try the tiny hack I mentioned here. It'll solve those "UL element not allowed here" errors, but it won't affect received non XHTML compliant tags (eg. <br>, uppercase). I guess it wouldn't be too hard to correct those using some sort of sanitizing...




174
ajaxbr
Re: CHMODing folders & files!! (why won't xoops work)
  • 2004/4/24 23:56

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hey max100

I've seen exactly the same problem and we were able to solve it by talking to the host support guys. It's a somewhat simple issue, actually it's not necessary to talk to your support personnel. Lemme try to find our old emails regarding this.



175
ajaxbr
Re: Pre-emptive Strike .. SQLite!
  • 2004/4/21 19:18

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Bump.
Or even DB abstraction layers?



176
ajaxbr
Re: Help with layout
  • 2004/4/20 4:12

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi.
You can find some extra help on the docs menu (over there, at right, "XOOPS Documentation"). As to getting the news to show up in the front page, you should set the default module (under Preferences, IIRC) to be News. And the colors are set in themes, usually inside a style.css file. So you might want to download new themes or to hack the one you're using (if so, check the "update files in themes directory" option in Preferences).

Happy Xoopsing



177
ajaxbr
Re: Add to Notification Option
  • 2004/4/20 4:03

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Neither do I, as you can see from what I have found: you shouldn't hack xoopsmailer.php at all. Sorry about that.

There's this /newbb/post.php file, where the notification items are set for newbb.

Here's what lurks in there:
$notification_handler->triggerEvent('global'0'new_post'$tags);
$notification_handler->triggerEvent('forum'$forum'new_post'$tags);
$myts =& MyTextSanitizer::getInstance();
$tags['POST_CONTENT'] = $myts->stripSlashesGPC($HTTP_POST_VARS['message']);
$tags['POST_NAME'] = $myts->stripSlashesGPC($HTTP_POST_VARS['subject']);
$notification_handler->triggerEvent('global'0'new_fullpost'$tags);


So... we have to figure out how to add a X_PNAME variable that gets the poster's name.

If you have a test site, you might want to try to add this line:
[color=CC0000]$tags['X_PNAME'] = $myts->stripSlashesGPC($forumpost->uname());[/color]
between
$myts->stripSlashesGPC($HTTP_POST_VARS['subject']);
and
$notification_handler->triggerEvent('global'0'new_fullpost'$tags);
, but I have no idea whether this should work or cause your server to explode, so trying this at a production site is not even remotely advisable.



178
ajaxbr
Re: Add to Notification Option
  • 2004/4/20 3:32

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


You'd have to edit the /modules/newbb/language/english/mail_template/global_newfullpost_notify.tpl template to add a variable (like "X_PNAME") to represent the poster's name. Then you'd have to hack /class/xoopsmailer.php to make XOOPS assign the poster's name to that variable. Lemme try to find out how this info is assigned at the "Recent posts" block.



179
ajaxbr
Re: Email privacy?
  • 2004/4/20 3:08

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hey Dave, I'm looking into /xoopsmembers/index.php and I found
if ( !$iamadmin ) {
            
$criteria->add(new Criteria('user_viewemail'1));
        }

Does that make "'user_viewemail'==1" ?
If it does, that's the problem, since later we'll have a
if ( $foundusers[$j]->getVar("user_viewemail") == || $iamadmin ) {includes email linketc    } else {
                
$userdata['email'] = "&nbsp;";


[edit] Wait, I'm talking non-sense again. Sorry. Please disregard all above.
[/edit]

[edit2]
Oops again. Dettie, would that user be an admin? Or yourself when checking? Cuz the second chunk above seems to say that admins get to see everybody's email addresses. I'll shut up for good now, I promise. [/edit2]



180
ajaxbr
Re: Email privacy?
  • 2004/4/20 2:47

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Hi there Dettie!

I'm not sure as to why this happens, but we found a not-so-good-but-perhaps-worth-considering workaround in the "How do I stop guests from viewing registered user profiles?" thread.

I'll try to find a way to make displaying emails obey the "show email" option, but given my lack of knowledge... well, I hope that someone that can provide better help jumps in soon




TopTop
« 1 ... 15 16 17 (18) 19 20 21 ... 26 »



Login

Who's Online

160 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 160


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