71
attock
Re: - Required class?
  • 2007/3/18 17:06

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Aite i'll check it out

but I was using $xoops_isadmin() with teh brackets.

Dont we use brackets with functions in php ?



72
attock
<{if $xoops_isadmin}> - Required class?
  • 2007/3/18 11:37

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


I am tryina to make a module, so in the index.php I have to make use of <{if $xoops_isadmin}>. Now my question is what files (classes) I need to include to in index.php.

Right now I have the followings:

include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");


thanks



73
attock
Re: my website was hacked! Now what?
  • 2007/3/18 2:15

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Usually hackers would leave their logo and name behind - to show off.

You said the website was not for public, so I am guessing you wont have a lot of users - which means you havnt lost much. A new fresh installtion will be the way to go.

Or, check yer ftp look for the index.html \ index.php file under yer public_html root. Its possible the hackers only replaced yer index.html\php file.

Most importantly, you need to change yer all passwords, and like rabideau mentioned goto
http://helpxoops.info/modules/content/index.php?id=19
to aviod it from happening again.

And if I can ask, wots yer website url?



74
attock
Netfirms.com - To go0d to be true ?
  • 2007/3/17 1:58

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Came accross with the followings, so I am sharing with ya all:


$10 for one full year of Netfirms Advantage Hosting!
2 FREE domain names
250GB of disk space
2,000GB data transfer per month
Host unlimited websites with a single account!
Support for PHP, Perl, and MySQL
24-hour technical support

Currently I am using hostgator, which are very good. But anyways if you wana find out more about this package, click here!



75
attock
Re: New Module
  • 2007/3/16 21:35

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


well thank you for liking it.

I guess ill move it to dev.xoops.org laterz. But for time being ill figure out how to add remaining stuff.



76
attock
New Module
  • 2007/3/16 2:45

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


ello all,

I am trying to build a new music module, since I didnt know where to start from, nor were I able to find any document on how to build a new module. So I decided to start building this new module on debaser. Now I am almost done with it, all I need now is to add the following:

1) A text editor
2) Display text submitted via text editor
3) A comment system
4) Is there a how-to-build-admin-console out here?
5) How to display MySQL query results in multiple pages. e.g disply 20 per page out of 500 total found results.


You can check this module here



77
attock
Re: Voodoo Chat?
  • 2007/3/14 21:46

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


perhaps you wana check this out



78
attock
Re: two xoops on one database?
  • 2007/3/14 21:28

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


I finally decided to go with a fresh installment



79
attock
two xoops on one database?
  • 2007/3/6 6:12

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Scenario

I have to build a community website, and I already have one running. So lets say I have a running website A and the new website will be B.

I can launch B in the following ways:

1) Download and install a fresh copy with a new database. In this case ill have 2 databases.

2) Install a fresh copy with a new database, but update the xoops_users table of site A. This way I ll have all the users of site A and B on site A's database. However site B database will have only users registered on site B.

3) Dont install any thing, but do sutmhing like if the referred website is site A, then show launch\display modules for site A, if the ref. site is B launch\display for that.


Now I have the follwing questions

For 2nd option, i ll have to hack register.php. I was lookin for the line where it enteres data in xoops_users, but I wasnt able to find it. If i know in what file is it, I can hack the code to meet my needs.

I like 3rd option, I can include a website_assign.php in my theme.html. In website_assign.php i'll have the followings:

if ref site A, tpl->assign 'title' Site A
assign --> 'menu2' news
assign --> 'menu1' blog

else tpl->assign 'title' Site B
assign ---> menu whateva

etc etc..

I am good with assigning menus, as I have disabled them (uers menu). I am using customized menus using <{menu1}> in my theme.html file using smarty tags.


Final Question

- What would you recommend.
- Are number 2 and 3 doable?



80
attock
Re: FlashChat
  • 2007/3/6 5:50

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Thanks

I was lookin for it




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



Login

Who's Online

183 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 183


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