[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Site updates -- live!
- To: Arabeyes Admin <admin at arabeyes dot org>
- Subject: Site updates -- live!
- From: M Elzubeir <zubeir at gmail dot com>
- Date: Sat, 16 Oct 2004 16:33:53 +0400
- Domainkey-signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=YcmgGHKi8Qd5O1F13wyFmBq9sRCavZR8M2ghd8Eb912wFIFmdkbJowgXjx66PpzQUegc9mm4n/QNHD9wH2YyqnogZOFJYLEFZ+/GCj7P8Ot4lyg++/Y/B2JPkC3EAGBaDyzOHLoDP4XbXYvQ34q4/4U1+t+gjC1SKW4oV6E/7T4
Salam,
After Nadim committed the modified patch to CVS, I went over to more
the javascript *puke* out of all the arabeyes pages and to restrict it
to one page only. This has proven to be a rather painful process (when
I wrote this site originally, I had the header stuff separate, now it
seems that the entire page is loaded based on one function call,
regardless of header/body/footer/etc. -- not sure that is a good
idea).
Anyway, it has also proven to be error prone (but all fixed).
DisplayPage() now takes 4 arguments, the 4th being anything in the
head tag, which normally would be a javascript embedded there.
I also modified the people page to remove that redundant 'Status'
column (all of them say they are 'Active' -- otherwise they wouldn't
be displayed by default). I changed it back to how I originally wrote
it, which is to display the latest commit timestamp. I think that page
makes more sense now.
I also found that there is login.inc.php and credentials.inc.php lying
around and didn't understand what was going on. The live site
apparently uses _both_ which, incidentally, are identical to each
other. rss.php uses login.inc.php and the rest of the site uses
credentials.inc.php.. which, was never put in CVS. Very odd. So, I
nuked login.inc.php and added a dummy credentials.inc.php file.
What all this means is that, when you are grabbing a fresh copy from
CVS, you should edit credentials.inc.php and not arabeyes.php. It will
have stuff like the dbname, dbpass, etc.
I cleaned up the tables (votes,elections) and so we are starting afresh.
Enjoy!
--
-------------------------------------------------------
| Mohammed Elzubeir | Visit us at: |
| | http://www.arabeyes.org/ |
| Arabeyes Project | Homepage: |
| Unix the 'right' way | http://elzubeir.openius.com/|
-------------------------------------------------------