Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MadSci

Pages: [1] 2
1
Ok the pro and con first:

1. pro - single login
2. con - the users still have to register 2 times: once for joomla and then for 4images with the same username and password.

how to do:

1) install Joomla
2) install this component : http://joomlacode.org/gf/project/wrapper_login/ (  you need wrapper loiggin 1.5)
3) in Joomla goto Components -> WLXT --> create user_categories (like 4img)
4) Components --> WLXT --> Site Categories (something like 4img)
5) Components --> WLXT --> Sites --> fill in the blanks
for URL: use http:www.your_domain_name.com/4images_directory/login.php
for Username: put this: user_name
for Password: put this: user_password
the last 2 are the names of the 4images login form fields so paste them as they are;
6) goto Menus --> main menu --> new and click on the Wrapper_login component
on the right side fill in the blanks the user groups and the site...

remember to make all the links for registered users only so on the main page the link will show after you log to Joomla. Clicking on the link will automatically submit your joomla username and password to 4Images database and the front page will be shown as wrapper. The templates can be edited to fit the Joomla outlook.

Now about the registration problem the same wrapper may be used to submit your Joomla username and password to the 4images registration page which could solve the issue with the dual registration with different user names.

well at least its a start. :mrgreen:

ms


2
Discussion & Troubleshooting / 2 quick questions (CMS and FLV video)
« on: January 28, 2008, 05:39:07 PM »
Hey peoplz,
1. did anyone manage to make single login between 4images and some CMS like joomla or such ? this is a 2 year followup/update. of this post:
http://www.4homepages.de/forum/index.php?topic=10812.0 (posted dec 2005)  8O

2. Can we upload flash video files flv and how can we have them played like YouTube.. :mrgreen:

ms

..or may be we can have one PHP script to hold whole site registrations and somehow to interface any CMS or Image database..like you can have CMS and 4images with no registration instead they will use a common add-on which will handle any site registrations..or..the user-password database will be totally separate from the CMS or 4images
does that make any sense ?

ms

3
Mods & Plugins (Requests & Discussions) / Piclens plugin
« on: November 22, 2007, 05:48:18 PM »
Hey all,
how difficult will be to implement ? any takers?

http://www.piclens.com/enable/

i think it looks cool..

thnx

4
This was executed remotely:

/index.php?template=../../../../../../proc/self/environ%00

it lists some info about the server hosting the database

ms

5
Ok so finally I figure that one out:

DIFFICULTY LEVEL: easy
TIME TO COPLETE: about 5 min
FILE TO EDIT: member_uploadform.html in your templates directory
WYSIWYG EDITOR: WyzzEditor v0.62 -->http://www.wyzz.info

1. Download the WyzzEditor and extract on your disk. You will see 2 folders and one js script. Upload all 3 in your currant template folder.
2. Open the wyzz.js for editing.

Find the following regions:

Code: [Select]
// Edit region stylesheet
editstyle = 'wyzzstyles/editarea.css';

// Style Sheet
document.write('<link rel="stylesheet" type="text/css" href="wyzzstyles/style.css">\n');


toolbar += '<td style="width: 22px;"><img src="wyzzicons/' +buttonName[btn]+ '.gif" border=0 unselectable="on" title="' +buttonName[btn]+

toolbar2 += '<td style="width: 22px;"><img src="wyzzicons/' +buttonName2[btn]+ '.gif" border=0 unselectable="on" title="' +buttonName2[btn]+
and edit the HREF and SRC to have the full link to the styles and icons like:
Code: [Select]
editstyle = 'wyzzstyles/editarea.css';
editstyle = 'http://www.yoursite.com/4images/templates/your_template/wyzzstyles/editarea.css';

NOTE: edit only the HREF and SRC nothing else

3. Open the meber_uploadform.html and on top of:

Code: [Select]
<form method="post" action="{url_member}" enctype="multipart/form-data"
paste this:
Code: [Select]
<script language="JavaScript" type="text/javascript" src="http://www.yoursite.com/4images/templates/your_template/wyzz.js"></script>

and then goto:

Code: [Select]
<td class="cat1"> <textarea name="image_description" cols="30" class="textarea" rows="10" wrap="VIRTUAL">{image_description}</textarea>

edit to:

Code: [Select]
<td class="cat1"> <textarea name="image_description" id="textfield" cols="30" class="textarea" rows="10" wrap="VIRTUAL">{image_description}</textarea>

Note: the ID element was inserted

and then add right under the textarea:

Code: [Select]
<script language="javascript1.2">make_wyzz('textfield');</script>
      

save and test.

Hope you like it.

ms

Troubleshooting:
1. its not working: check your links


PS one more thing:

examine the config guidelines in wyzz.js so you can customize your editor. You can add or remove butons, set the W and H of the editor as well as show and hide bars.

ms

6
Discussion & Troubleshooting / WYSWYG news editor..
« on: September 19, 2007, 08:44:01 PM »
Ok, up to now I was including additional pages in my 4images using Iframes..however recently I found that script which I pasted in the header.html..
http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htm

so now to include a html page anyware you just use:
Code: [Select]
<script type="text/javascript">
ajaxinclude("afile.htm")
</script>

with this working like a charm I found this little script:
http://newswriter2005.sourceforge.net/

as well as this litle script:
http://www.wyzz.info/

I have merged the newswriter and the wyzz scritp to have WYSWYG editor.

I have modifyed the index.php page of the newswriter by deleting : admin login option and change few tables and collor to match my site.

The resulting index.php was included usign the ajaxinclude opiton into my front page..thus I now have WYSWYG news on the front page.
I made one html file with I frame to call the admin.php for the news writer..then I renamed the html to php and put it in the plugins directory of the 4images.. now I can edit my front news with WYSWYG editor from whitin the 4images.

This is like very ammateurish but hey it works..
hope someone can improve it..

ms


7
Templates & Styles (Requests & Discussions) / DIV tags vs Tables ?
« on: September 19, 2007, 02:33:02 PM »
Hey guys,
I tryed to replace the tables in 4images default template with DIV tags and it did not work..
is this related to the backend end scripting or I messed up the design ?
thanx.
ms

8
Mods & Plugins (Requests & Discussions) / News Publishing MOD question.
« on: September 16, 2007, 06:06:56 AM »
Guys I just integrated the Simple news publishing MOD and have one question:

this is the mod: http://www.4homepages.de/forum/index.php?topic=9064.0

now if you go to ACP and then to the Add news on the right side a form will pop-up with News title and News content.
Now if you click on the news content and get the page source then you see:

<td><p><textarea name="news_text" rows="15" cols="80"></textarea></p></td>

I need to add an ID to that text area like:

<td><p><textarea name="news_text" id="news_text" rows="15" cols="80"></textarea></p></td>

and need to insert a small javascript tag right under that line:

anyone knows how to do that. I spend the last hour looking the different phps and have no clue were this form is rendered.

thanx.

ms

9
Mods & Plugins (Releases & Support) / [MOD] Welcome to our latest member..
« on: September 14, 2007, 01:02:48 PM »
1. on the front page to have: Welcome to our newest member {user_name} of the one who just registered.  :lol:

ms

10
Mods & Plugins (Requests & Discussions) / 4Images RSS news in the ACP
« on: September 13, 2007, 10:15:32 PM »
I wonder if its a good idea to have a window between "who is online" and "Stats" showing RSS feeds from 4images homepages ?
We can be up to date with the latest patches or updates as well as some important msgs from 4images.

ms


11
Mods & Plugins (Requests & Discussions) / The phpBB integration question ?
« on: September 13, 2007, 06:11:57 PM »
Howdy guys,
one quick question

Will this work

I have 4images with about 1000 members and 500 pics so :

1. install a fresh seccond copy of 4images in different directory.
2. Install phbBB
3. Integrate them using the provided scripts
4. get the backed up database, and templates from the original 4images
5. Use restore database in the seccond copy -> will that update the phpBB database for userlogin or will they now share the user login dabase ?
6. delete the original copy of 4images

thanx.

ms

UPDATE:
======
no go..did not work.

ms

12
Mods & Plugins (Requests & Discussions) / Request: IP logger..
« on: September 11, 2007, 01:17:52 AM »
Hey guys,
I dont know may be this was done already but: Im using ver. 1.7.1 curantly updating some security fixes. My site was taken down 2 times by hackers (I faltered bid f..ing deal )..and today again i found 2 files by Demon team or crap like this. I also find this pseudo images being uploaded ( PHP files renamed to JPG ). I have installed the ban script and I wanted to ask you if it is possible to do the following:

when logged to the admin control panel --> then edit users and then search --> along with the other fields like ID name email etc..etc. to get all IP addresses for that user. It will be nice to have someway to add a line to htaccess to block these IP addresses.

You think thats a good idea ? or it will clog the database with too may IP addresses..

ms

sorry but these amateurs hackers are getting on my nerve.... :x

13
Mods & Plugins (Requests & Discussions) / [MOD request] Picture compare
« on: November 04, 2006, 04:24:16 PM »
Hi guys,
is it possible to make a mod which compares pictures side-by-side ? for example:
I believe this would work like a lightbox but whitout storing the images in a database just in a temporary bin or something.
After the user leaves the pages this bin is emptied.
I kinda need this and I was hopping it will be usefull for the rest of the community as well.

thanx,
ms

14
Hey guys,
you know sometimes people upload images which are copywrited by someone and that someone figures that out and will request removal of the image ?
Can we have a button bellow each image like :request removal: which will lead to a form in which he will explain why the image should be removed and provide an email etc..etc..so when the image is removed and email is automatically sent back sayin bla blah appologies the image is removed...etc..etc.

you think thats a good idea ?

ms

15
Discussion & Troubleshooting / Zoom feature revisited
« on: July 01, 2006, 05:39:56 AM »
Hey guys,
may be someone already did this but anyway. A while ago I asked about how to implement zoom feature like http://www.zoomfactory.org..the idea came from this disscution http://www.4homepages.de/forum/index.php?topic=13485.0  as pointed out by mawenzi (thanx for that) so I played arround to make it a bit more simple to implement and easy to use:

1. go to:  http://valid.tjp.hu/zoom2/index_en.html copy and paste the  script and save it on your server like:
http://yourserver.com/zoom/zoom.js

2. open your header.html and find

</head>
paste above:
<script type="text/javascript" src="http://yourserver.com/zoom/zoom.js"></script>

3. Open your details.html

find: {image}
replace {image} with

[qcode]
 {if user_loggedout}{image} {endif user_loggedout}
{if user_loggedin}
<div style="float:left" onmouseover="zoom_on(event,{width},{height},'{media_src}');" onmousemove="zoom_move(event);" onmouseout="zoom_off();"><img src="{media_src}" alt="{image_name}" style="padding:0;margin:0;border:0" /></div>
<div style="clear:both;">
{endif user_loggedin}

[/qcode]

this feature will be visible only for the registered users if you want everyone to have a zoom effect just delete:
 {if user_loggedout},{image}, {endif user_loggedout}  ,{if user_loggedin} and {endif user_loggedin}


well thats it sory if its repetition.

ms

PS :
1. you can edit all the js options whitin the script itself..you dont have to alter the header.html
2. Tested with FF and IE works fine
3. and I think this guy deserves a big kudos for the script so dont forget to put a link to his site in your footer.html -->  http://valid.tjp.hu/zoom2/index_en.html

PSS:
You can also set the
var defzoomamount=1;
so when you roll the mouse over the image nothing will happen but pressing the left or right button will zoom in..

Pages: [1] 2