Dzoic Handshakes User Status Hack

Posted by Genuskbl in September 15th, 2007  
Published in Handshakes Hacks

Hi guys i saw a post on the forums so i thought lets help you guys with this if you are looking for a hack to let the visitors know if they are logged in or not then you can use the following code any where in footer or header, or any other page in the script.

{if $info.im_access && $info.mem_id}
{include file=”$theme_template_root/menus/horizontal.tpl” menu=”top”}
{else}
You are not logged in you can :
<a href=”./index.php”>login</a> |
<a href=”./index.php?page=join”>Register</a> |
<a href=”./index.php?page=help”>Help</a>

{/if}

and thats all,
texts in In Bold You can change only

Have fun

Dzoic Handshakes Upcoming Versions :)

Posted by Genuskbl in September 14th, 2007  
Published in General

Dzoic Handshakes is a social network script that offers a lot of flexibility in its design. The growth of social networks has been a recent trend, led predominantly by the success of MySpace. However, there are many platforms to choose from and all of them will need some programming or modifications to suit the intended purpose.

Handshakes script can be run straight out of the box and perform admirably, although most people will want to have their own themes and modifications to make it more unique. Fortunately, there has been a growth in the number of developers who are able to quickly apply their programming skills to make new themes and modifications for dzoic handshakes. It will cost some money for most modifications, although there are some free mods available - it just takes a bit of time to find them.

Many social network scripts present a lot of complex issues when looking at modifying the source code. Handshakes by dzoic offers a great deal of flexibility with only a very small amount of encoded source. This flexibility ensures that developers can continue to make modifications and apply new dzoic themes without breaking how the script inherently works. Some mods and themes do get adapted into the default dzoic handshakes script by the script developers, so it proves the freelance developers are working with the best interests of the respective communities in mind.

Simple dzoic mods can be programmed for very reasonable rates as programmers are normally open to negotiation and depending on your overall specifications, the freelance programmers may be able to throw in some extra freebies to help with overall functionality.

If choosing dzoic handshakes script as the social network script to base your community around, then thinking ahead and planning exactly what you want done before purchasing the script should be your number one priority. It is the downfall of most webmasters who rush out and buy a script without planning whether or not it suits their intended pupose. In these cases, the webmaster will look to sell the script license to the higest bidder or simply leave it unused and dormant on an unfinished domain.

The considerations that should be undertaken when evaluating any social network script are:

  • How much of the code is unencrypted?
  • How much does official support cost?
  • Are there any developers for mods and themes?
  • How much do mods and themes cost?
  • How user friendly the script is for the intended userbase?
  • Does the script function correctly for the intended purpose?
  • Is the script user friendly?

If those issues are all checked out, then dzoic handshakes script is able to tick most boxes - but if people have any different boxes they need to be ticked, then they should first find out if the script is still suitable after evaluation.

For any community developer it will be hard to find a perfect script out of the box - however, dzoic handshakes does offer a good platform to base a community site around and has extensive functionality as well as a growing number of freelance developers who have become experts on developing additional functionality for the script.

Specially the modules i have developed and planning to develop in the future, it will make handshakes the most featured community script ever on the net,

Dzoic handshakes Web2.0 Theme

Posted by Genuskbl in September 11th, 2007  
Published in Handshakes Themes

Here is the theme i am currently working on,

Gwhite by Genuskbl

if you have recommendations, do not hesitate to Buzz me up just shot me a reply here,

Random Poll on home page

Posted by Genuskbl in September 11th, 2007  
Published in Handshakes Hacks

Actually its going to be a two in mod hack,

1, it displays one random poll on home page
2, its going to create another poll page when you click on a title it will get you to the poll page with more detailed INFO a demo can be seen at

http://genusblog.com/dzoic/

Check the random polls section

ok lets start,

!1 . open modules/polls.php copy the following code and add after }//my_polls (after that okay)


//start grabing the code from here
//September 11 2007,
//Author genuskbl
//Grabbed from genusblog.com

function random_polls(){
$sql_query = “SELECT * FROM polls WHERE pol_id > 100000 AND approved=’1′
ORDER BY RAND()
LIMIT 0,1″;
$polls = array();
$result = $GLOBALS[”DB”]->result($sql_query);
foreach($result as $res){
$card = array();
$card[”pol_id”] = $res[”pol_id”];
$card[”mem_id”] = $res[”mem_id”];
$card[”author”] = $GLOBALS[”Network”]->card($res[”mem_id”]);
$card[”question”] = $res[”question”];
$card[”answers”] = polls_extract_answers($res[”answers”]);
$card[”stats”] = poll_stats($res[”pol_id”],array_keys($card[”answers”]));
$card[”approved”] = $res[”approved”];
$polls[] = $card;
}//foreach
$GLOBALS[”smarty”]->assign(”random_polls”,$polls);
}//Random Polls by genuskbl
//end of random polls by genuskbl

Save polls.php and upload it back to modules/

!2. Now that you have added the function lets add the html section to home page open your homepage.tpl file of course you know where its located, unless its your first time
themes/{youtheme}/templates/source/pages/homepage.tpl

add the following block code after the login form, here it says
{include file=”divider.tpl” type=”h”}
now add this following code there, exactly below above code under login

{include file="lists/genus_polls.tpl" from=$random_polls}

now save homepage.tpl and upload it back,

!3. Now create a tpl file name it ( genus_polls.tpl ) copy the below code

{assign var=’a’ value=1}
{if count($from)}

<table cellpadding=”0″ cellspacing=”0″ border=”0″ width=”100%”>
<form action=”index.php” method=”post”>
<input type=”hidden” name=”handler” value=”polls”>
<input type=”hidden” name=”action” value=”vote”>
<input type=”hidden” name=”pol_id” value=”{$item.pol_id}”>
<tr>

{foreach from=$from item=item key=key name=”polls”}
<td valign=”top” width=”33%”>

<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”60″ align=”left” valign=”top”>{include file=”boxes/member.tpl” card=$item.author}</td>
<td valign=”top”><a href=”index.php?page=view_poll&id={$item.pol_id}”><b>{$item.question}</b></a></td>
</tr>
</table>
{if !$item.stats.vote && $item.approved}

<div class=”padded” style=”padding-left:10px”>{foreach from=$item.answers item=name key=key}
<div><input type=”radio” name=”answer” value=”{$key}” class=”radio” onClick=”this.form.submit()”>{$name}</div>
{/foreach}</div>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td align=”left” valign=”top”><div class=”padded” style=”padding-left:10px;”><span style=”font-weight:bolder”>{$language.total_votes}:</span> {$item.stats.total}</div>
{/if}
</div></td>
<td valign=”middle”><a href=”index.php?page=view_poll&id={$item.pol_id}”><b>View Results</b></a></td>
</tr>
</table>

</td>
{/foreach}

</tr>
</form>
</table>
{else}
<div class=”body” style=”text-align:center”>{$language.nothing_found}</div>
{/if}

and paste it there save it and upload it to

themes/{yourtheme}/templates/source/lists/

!4. Now the last step to display it on the home page, you need to authorize the function to the task file, go to
Administrator > Develop > Function Manager > Add new Function

Function title: Random Function
Function file modules/: polls.php
Function name : random_polls
Function pages please add the Welcome from left box to the right box and then update function now you must be able to see the random poll on the home page.

Now here is what i GOT by doing above, a random polls section in my homepage under

Dzoic handshakes Random Polls

demo link http://genusblog.com/dzoic/ Demo is OFFLINE FOR NOW

WELL if you can see it on your home page or where ever you wanted to display it then its a success now you can continue reading to make the new page called view_poll where it will show the polls you can notice it on the above screen shot where it says View Results.

i like it easy as a b c

A, Open themes/{your theme}/titles.inc.php and add this code

$titles[”view_poll”] = “|site_name|::View Poll”;

at the very top under <?php

Then open Notepad or any other html editor copy below code

<structure>
<header>header.tpl</header>
<column width=”" id=”1″>
<cell id=”1″>
<block id=”View_Poll” open=”" close=”" assign=”" btype=”">
<template>pages/view_poll.tpl</template>
</block>
</cell>
</column>
<footer>footer.tpl</footer>
</structure>

and past it there save the page as view_poll.inc.php and upload it to

themes/{your theme} /layout/

now create a new page using notepad or any other html editor or whatever you are using, i hate some times to explain every little details, but don’t think i am rude i am having hard time right now on choosing my words anyways lets get back, copy the below code

<div class=”padded”>
<div>
{include file=”boxes/simple.tpl” secheader=$language.browse_polls class=”blue”}
{include file=”lists/polls.tpl” from=$viewpoll class=”blue”}
{include file=”boxes/simple_close.tpl”}
</div>
</div>

Paste it on the blank page then save it as view_poll.tpl upload it to

themes/{your theme} /templates/source/pages/

B. Now download this file the name is http://genuskbl.com/thumbs/view_poll.txt

view_poll.txt

save as this page and rename it to

view_poll.php

then upload it to
modules/

C. i told you its going to be easy as a b c, now , now now, okay go to

Administrator > Develop > Functions > Add New Function

Function Title : View Poll
Function file : view_poll.php
Function name: view_poll
for function pages from left box add View Poll to the right box,

remember to add the view poll page to the mainbar and top to display the menus on the page,

Customize > menus > mainbar > add the view poll to the right box UPDATE

Customize > menus > top > add the view poll to the right box UPDATE

Customize > menus > submenu11 > add the view poll to the right box UPDATE

 <div class=”padded”>

<div>
{include file=”boxes/simple.tpl” secheader=$language.browse_polls class=”blue”}
{include file=”lists/polls.tpl” from=$viewpoll class=”blue”}
{include file=”boxes/simple_close.tpl”}

</div>

</div>

save it as  view.poll.tpl

upload it to

themes/{your theme}/templates/source/pages/

YOU ARE DONE,

if you faced any problem leave a comment here don’t expect instant response but yes, i will check it once 24 hours, also do not mind my English grammar,spelling Errors i am here to take care of this stupid coding not my spellings i still remember teacher was yelling at me for my wrong spelling and grammar,

Now, last step,

open notepade copy the code below and paste it there,

Donations are always welcomed, Extra modification to this Hack may cost you extra, unless you have a suggestion reply a comment and i will see what i can do,

Handshakes Points Module User Section

Posted by Genuskbl in September 11th, 2007  
Published in Handshakes Modules

ok, finally i am done with all here is how it is working for user section,

Users are getting points and you can enable or disable for following activities on the site,

Profile Photo Upload:
Upload Photos:
Profiles Views :
Blogs Creation:
Blog Comments:
Classifieds Creation:
Events Creation:
Clubs Creation:
Join Club:
Reply/Send an E-card:
E-card View:
Rate A photo:
UPload Music:
Comments a Music:
Upload a Movie:
Comment A Movie:
Create Forum Topic/s:
Forums Topic Replies:

and Users getting point for each activity they are doing on the site, so its quite simple, users also can upgrade USING THEIR points on, only if they earn that much point you specified on the Admin section while creating a Package,

a demo can be seen at

http://www.admasti.com
user: jamshid@yahoo.com
pass: 123456

thats only for User section, not for admin section for admin section you can refer to this post

Points Administrator Section

I have added this item in the shop, so you can purchase and install it. it comes with a very detailed installation readme file which also will make you understand how this system is working.

here is the ITEM LINK

Points Module for Dzoic Handshakes by Genuskbl

Points Administrator Section

Posted by Genuskbl in August 29th, 2007  
Published in Handshakes Modules

well i tried to make it pretty simple

first letting you to create packages normal as they do but i added another input item [points] which a user can upgrade to the package against the points you specify there,

Screen shot 1

Admin Create A package

then you can go to GET PAID and click POINTS MANAGEMENT LINK

there you will have

Points Manager | Membership Management | User Activity Points | Site Offers For Points

lets say starting from

Points Manager

In here you can enable/disable the activities on the site where a user will get points for also you can set the limit of points given for each activity unfortunately 3 of those activities are not working at this point because of handshakes limitation they have encoded those sections and i don’t have access to the source code so i just put it there for feature development i have to check with handshakes developers if i can recode those sections or not?

screen shot 2 points manager

Admin Points Manager

now
Membership Management
member ship management here you can simply see the list of your packages and you can click edit on right side of a package and then set limits for every package for example you can set limit against each activity based on screen shot one where you enable disable the activities.
screen shot 3 membership management
Admin Membership Management

User activity Points
here well i am planning to develop this section but for now its not a bad tool you can manually set any amount of points to any user you wish to basically i developed this section for those already have lots of users
Screen Shot 4 User activity Points
Admin User activity Points

Site Offers For Points
Here you can set the price against each activity you want to charge a user for example users who wants to upload more photos then you set limit on the package so they simply purchase or raise limits by points they currently have {later development would be purchase points against $$$}

Screen Shot 5 Site offers for points
Admin Site offers for points
I will post the user section laters

[tags]handshakes, points system[/tags]

Points system for Dzoic handshakes V 3.3

Posted by Genuskbl in August 23rd, 2007  
Published in Handshakes Modules

I have developed the points system for dzoic handshakes, of course with help of my partner, i am going to release it some times soon, explanation and other important information about points system for dzoic handshakes will be posted shortly

New themes

Posted by Genuskbl in August 23rd, 2007  
Published in Handshakes Themes

well i thought other day lets start a blog, and talk about themes i am creating and getting ideas what you guys like most, cause i am going to create lots of themes in the near future. so keep commenting and let me know,