231
Draven
Re: what u said
  • 2003/10/17 19:40

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Quote:

Predator wrote:
An Example to work with mod_rewrite and XOOPS you see here:

http://www.myxoopsforge.de/modules/phpwiki/index.php/XoopsModRewrite


Any chance somone could translate that for us non-german folk?


On the topic of search engines, while Google can crawl "index.php?var=value" many other major search engines still do not, and their crawlers fail to index the pages. If you look at any major website like MSN, Yahoo, CNN, Netscpe etc.. they all use some sort of URL rewrite meathod to display their content. Also, most crawlers won't go below a certain sublevel of direcotries, usually 2, unless a direct link is found in a higher level (like the homepage). So if you havehttp://mysite.com/xoops/modules/articles/index.php?etc chances are the crawlers won't go deeper than the modules main directory. This is also an instance where havinghttp://mysite.com/articles/4566.html would be usefull for indexing.

There's actually some very good articles over athttp://www.sitepoint.com concerning engines and indexing. Give a read if you have a chance.

http://www.sitepoint.com/article/910
http://www.sitepoint.com/article/1060
http://www.sitepoint.com/article/485
http://www.sitepoint.com/article/945


There's just a few to start you going.



232
Draven
Re: Serious NewBB upgrade problem
  • 2003/10/17 0:46

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Never mind. My search didn't pull up anything the first time, but I now see others have had the same issue.

Why was this changed, btw? Seems to me it makes way more sense to assign groups, rather than individuals.



233
Draven
Serious NewBB upgrade problem
  • 2003/10/17 0:21

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Ok gents, I have a big problem and I don't see a solution, or the reason it was done.

I'm currently upgrading someone from v1.3 to 2.05 and my client is using the private forum permissions as groups, and it seems that NewBB doesn't do that anymore, it instead does only individual users. Why was this change and is there a work around? This guy has 11,000 members, 5000 are premium members that have access to private forums based on their group setting. I can't go through and set these all by hand. HELP!!!!



234
Draven
Re: Referral hack?
  • 2003/10/10 15:21

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


What I mean is that when a user signs up they can select a user from your member list that may have referred them to the site. I'm going to be running a contest on my site for referrals, the member with the most referrals wins a prize. This is quite common on BodyBuilding forums but since XOOPS is now doing my registrations and not IBP, it's a little tougher to find a hack.

I'd also like to be able to give each member a url that they can give to people which automatically selects them as the refferer. Something likehttp://mysite.com/regitration.php?referrer=username.

Hope that makes sense.



235
Draven
Referral hack?
  • 2003/10/10 15:04

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Has anyone done a referral hack yet? I desperately need one and don't have time to do it myself. If not I suppose I'll have to but if there's one out there please let me know.



236
Draven
Re: PayPal module
  • 2003/10/10 3:20

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Shouldn't be that hard. Most shopping carts use a return script, meaning you can declare a script that is to be run after the payment is accepted. Simply create a script that changes a members group from a non-paying to paying and include some type of referrer check to ensure someone isn't trying to call the script directly.



237
Draven
Re: 3rd party chat advice needed
  • 2003/10/9 22:02

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


No problem guys, glad to help. Didn't realize there were others using this chat. It's definitely worth the 5 bucks.



238
Draven
Re: PHP Help
  • 2003/10/9 16:29

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


What part of the address are you trying to retrieve? Are you trying to get just a passed variable like ?this=that out of it? Or an entire URL likehttp://www.yourdomain.com. Or just the calling script index.php? Can you be a little more specific?



239
Draven
Re: 3rd party chat advice needed
  • 2003/10/9 16:10

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Well did you enclose the function in <?php and ?> tags? If not, that would explain why the code is being printed to the screen. The exact file lloks like this.

Quote:
<?php
function b_inchat_show() {
global $xoopsDB,$xoopsUser;

$block = array();

$result = $xoopsDB->query("SELECT c.name AS name, d.uid AS uid FROM chat_users c, ".$xoopsDB->prefix("users")." d WHERE NOW( ) - datetime < 12 AND d.uname LIKE c.name");


while ( $myrow = $xoopsDB->fetchArray($result) ) {
$block['users'][] = $myrow;
}
$block["count"] = count($block['users']);
return $block;
}

?>



As for the template, did you create the inchat.html file in flashchat/templates/blocks folder? it needs to be there. Usually when it shows up under system->templates and doesn't generate, it's because the file is missing but says it's not in the xoops_version.php. Make sure you have it named correctly both the file name itself and the
Quote:
$modversion['blocks'][1]['template'] = 'inchat.html';

is correct also.



240
Draven
Re: Banner Management?
  • 2003/10/9 13:32

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


TO be honest I've haven't tried the client login in a long time. In the older versions you would login at the same place as the admin. You can checkouthttp://phpadsnew.com for more info on the software. They have a good support forum.




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



Login

Who's Online

159 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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