241
ajaxbr
Re: XOOPS 2.1 Core development Roadmap
  • 2003/11/5 4:47

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Perhaps XOOPS should get a default php file included in header.php to allow easy upgrades of header.php while keeping hacks, counters, anything that usually goes in header.php and makes it CVS unfriendly.

Take a look here for further discussion.



242
ajaxbr
Re: different location for a module
  • 2003/11/5 4:11

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Create an index.php file in /rootweb/forum containing the following
<?PHP
header
('HTTP/1.0 301 Redirect permanent');
header('location: rootweb/modules/pbboard/');
?>



243
ajaxbr
Re: register.php
  • 2003/11/4 19:29

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Bruno, I guess you should look for
echo "<span style='color:#ff0000;'>$stop</span>";
include 
'include/registerform.php';
$reg_form->display()
. Add a
echo "<h4>Tua nota aqui, cuidando para não usar aspas duplas</h4><br /> Testa e diz o resultado";
right after that if you want the note to appear registration error screens and right before the
// CloseTable();
if you want it to show up in the first screen.
Backup everything and give it a shot. I apologize in advance, just in case this is not what you need (I'm not fluent in php or xoops...)



244
ajaxbr
Re: Some question about XOOPS Kernel?
  • 2003/11/4 19:04

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


We were discussing Chapi's hack (the one that implements "xoops_moduledir") and we came to talk about a way to avoid messing too much with header.php and I suggested that XOOPS could have a includeinheader.php file included by default in header.php and treated as a "messable" core file [edit]That would make header.php synchronizable with a CVS, as it is right now we'll always have to get a new version and re-hack[/edit]

For most hacks I know it would work fine, but Oki really knows a good deal about the ways XOOPS works and brought up that there are a couple compromises due to support of old version's themes that would require more than one include, resulting in a worse mess... and those compromises are the point of his original post here.
So maybe we have a feature request here, but then, if his original questions could get a little attention, I'd be enough for me



245
ajaxbr
Re: Discussion: How best to make CONTENT multilingual
  • 2003/11/3 6:38

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Two solutions I stumbled upon: Xaraya's and PHPope's.



246
ajaxbr
Re: XOOPS2 and registering with major search engines.
  • 2003/11/3 4:37

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


You can always pay to improve your placement, but usually you can get into most search engines without spending cash.

Google will spider any links to your site, so including it in link databases like the one in xoops.org would help a lot.

Yahoo! will let you include your site in their directory for free if it's not commercial. If you have a commercial site, make a personal one linking to it and add it (personal) to yahoo!.

The greatest source of information for search engines lately is the Open Directory at dmoz.org, I guess. You can submit your site and have it listed in the right category for free.

Altavista, Lycos, Google, all will let you submit your site for free but with no guarantee of inclusion. Some smaller services, like aeiwi.com/, will add you right away.

All in all, best thing you can do to get good places in search engines is having interesting content. Choosing the right words for creating links (never "click here", "here", "this one", always something related to whatever the link points to) will help too. Getting people to link to your site is always good, specially if those people are somehow related to your site's subject. Never use link farms or banner exchanging programs, they are annoying and don't work well.

Good luck



247
ajaxbr
Re: Module Categorization
  • 2003/10/29 17:32

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


I believe the most important feature a official repository is... well... being official
So a MyModules module would be nice (phpBB has one) but the greater goal would be a high quality official repository. Such a repository would have to:
*gives lots of info on modules
*handle module forks, translations and hacks well, making it easy for the user to understand the differences among similar modules
*Perhaps set a quality standard that a module must follow in order to be listed (or given an special approval), like no laguage-dependent strings in non-language files, efficient use of the core classes, readmes, etc.

I believe the language problem should be solved by the hardest but most complete way: make the official repository in english only now and use the momentum to focus on an definitive multilanguage content solution for xoops. In the end, instead of many non-synchronized repositories with conflicting versions (hey, is that Xoops_makemyday_2.13_charleschaplin from Xoopsmods or from Modsxoops?) we get one humongously harmonic repository accessible in many languages.



248
ajaxbr
Re: lykoszine.code
  • 2003/10/29 13:48

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


I like it so far
A couple typos:
xoops_version.php: "Lykos Bcloks" (IIRC, corrected it and am too lazy to unzip original)
language/english/blocks.php: "Random Parter"
language/english/modinfo.php: "Display" -> "Displays"?
I'm finishing the translation to Brazilian Portuguese and will install it soon.
Thanks man, xoopsturi te salutant!

[edit] Added a 3 to the install tips. Quote:
3. O conteúdo de cada bloco é bastante personalizável via templates. Para mudar a forma que as informações são exibidas, altere os arquivos html na pasta templates/blocks/.
and that can be translated as:
3. The contents of each block are fairly customizable through templates. To change the format of the dispayed info, modify the html files in templates/blocks/ folder.
[/edit]

[editagain]Got it working, but had to hack a couple strings in b_lykos_blocks_stats.php. I guess it would be worth the trouble to put them (and the "with" in stats template) in the language files. What do you think?
I'll release the translation now and start WF-Channel's.
You can see your baby rocking by following the first link in my sig and you can get the translated pack following the second [/editagain]



249
ajaxbr
Re: User Amount
  • 2003/10/29 13:08

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


There you go, Lykos Blocks then :)



250
ajaxbr
Re: User Amount
  • 2003/10/29 1:05

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


If you have the Members module instaled, you get the number of members in its main page. If you go to the template section, you'll see this info comes from <{$lang_totalusers}>.

I'm trying to put that info in a block but I'm failing miserably. I guess in the end the only way to do that is either by a big hack in Members module or by using it to create a new module with a dummy block displaying <{$lang_totalusers}> or $total.


I believe this is the important part of Members' index.php:
$member_handler =& xoops_gethandler('member');
$total = $member_handler->getUserCount(new Criteria('level', 0, '>'));
$xoopsTpl->assign('lang_totalusers', sprintf(_MM_TOTALUSERS, '<span style="color:#ff0000;">'.$total.'</span>'));.

I hope we can get thru this and end a bit wiser... either by getting to know how to do that or by learning to leave code to people that can code




TopTop
« 1 ... 22 23 24 (25) 26 »



Login

Who's Online

269 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 269


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