Page 1 of 2
Is there a way?
Posted: Tue Mar 05, 2024 11:19 pm
by Victor 123
1)Please is there no other way I can create my own custom like button that works?
2) Please who ever that is reading either @Vikkas or anyother person please I need a code for user link so when ever I click on any user listed it takes me to there profile
Re: Is there a way?
Posted: Wed Mar 06, 2024 8:13 am
by vikkas
1,
https://merci.wapka.co
2, Tag code:
Code: Select all
<a href="/user?id={{VAR(USER_ID)}}">{{VAR(USER_NAME)}}</a>
User Lister:
Code: Select all
<div class="phdr"><i class="fa fa-user-circle" aria-hidden="true"></i> Personal Page %username%</div>
<div class="menu"><center><img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"><br/><b>%username%</b></center></div>
<div class="list1"><i class="fa fa-id-card" aria-hidden="true" style="width:20px"></i> ID: %id%</div><div class="list1"><i class="fa fa-circle-o-notch" aria-hidden="true" style="width:20px"></i> Status: {{VALUE(%status%)@IFEQ(online)@THEN(Online)@ELSE(Offline)}}</div>
{{VALUE(%status%)@IFEQ(offline)@THEN(<div class="list1"><i class="fa fa-clock-o" aria-hidden="true" style="width:20px"></i> Last Activity: %logindate%</div>)@ELSE()}}
{{VALUE(Personal page %username%)@SET(title)@NULL}}
Config:
Code: Select all
<id>{{GET(id)}}</id><limit>1</limit>
Re: Is there a way?
Posted: Wed Mar 06, 2024 11:57 am
by obaydulbc
vikkas wrote: ↑Wed Mar 06, 2024 8:13 am
1,
https://merci.wapka.co
2, Tag code:
Code: Select all
<a href="/user?id={{VAR(USER_ID)}}">{{VAR(USER_NAME)}}</a>
User Lister:
Code: Select all
<div class="phdr"><i class="fa fa-user-circle" aria-hidden="true"></i> Personal Page %username%</div>
<div class="menu"><center><img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"><br/><b>%username%</b></center></div>
<div class="list1"><i class="fa fa-id-card" aria-hidden="true" style="width:20px"></i> ID: %id%</div><div class="list1"><i class="fa fa-circle-o-notch" aria-hidden="true" style="width:20px"></i> Status: {{VALUE(%status%)@IFEQ(online)@THEN(Online)@ELSE(Offline)}}</div>
{{VALUE(%status%)@IFEQ(offline)@THEN(<div class="list1"><i class="fa fa-clock-o" aria-hidden="true" style="width:20px"></i> Last Activity: %logindate%</div>)@ELSE()}}
{{VALUE(Personal page %username%)@SET(title)@NULL}}
Config:
Code: Select all
<id>{{GET(id)}}</id><limit>1</limit>
In user lister , user list with profile link making
<a href="/user?id=%id%">{{VAR(USER_NAME)}}</a>
Because in user liser %id% tag for collect user id..
And if you want to make profile page ljnk from any other sysstem.
Example in >>
Tag code or head tag code for profile page link
<a href="/user?id={{VAR(USER_ID)}}">{{VAR(USER_NAME)}}</a>
In single user lister for profile page link making
<a href="/user?id=%id%">{{VAR(USER_NAME)}}</a>
Config
<id>{{VAR(USER_ID)}}</id>
And profile page user lister config simply
<id>{{GET(id)}}</id>
because every link we called ?id=
Re: Is there a way?
Posted: Thu Mar 07, 2024 3:51 pm
by Victor 123
vikkas wrote: ↑Wed Mar 06, 2024 8:13 am
1,
https://merci.wapka.co
2, Tag code:
Code: Select all
<a href="/user?id={{VAR(USER_ID)}}">{{VAR(USER_NAME)}}</a>
User Lister:
Code: Select all
<div class="phdr"><i class="fa fa-user-circle" aria-hidden="true"></i> Personal Page %username%</div>
<div class="menu"><center><img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"><br/><b>%username%</b></center></div>
<div class="list1"><i class="fa fa-id-card" aria-hidden="true" style="width:20px"></i> ID: %id%</div><div class="list1"><i class="fa fa-circle-o-notch" aria-hidden="true" style="width:20px"></i> Status: {{VALUE(%status%)@IFEQ(online)@THEN(Online)@ELSE(Offline)}}</div>
{{VALUE(%status%)@IFEQ(offline)@THEN(<div class="list1"><i class="fa fa-clock-o" aria-hidden="true" style="width:20px"></i> Last Activity: %logindate%</div>)@ELSE()}}
{{VALUE(Personal page %username%)@SET(title)@NULL}}
Config:
Code: Select all
<id>{{GET(id)}}</id><limit>1</limit>
@Vikkas thanks for the love and support
Which country are you from?
Re: Is there a way?
Posted: Thu Mar 07, 2024 8:02 pm
by vikkas
I am India, Tamilnadu thank you
Re: Is there a way?
Posted: Thu Mar 07, 2024 10:04 pm
by Victor 123
Good bro
Please I need code so that user's image will be displayed in any post the create
Re: Is there a way?
Posted: Fri Mar 08, 2024 1:08 am
by vikkas
Code: Select all
<img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"/>
Re: Is there a way?
Posted: Fri Mar 08, 2024 6:20 am
by obaydulbc
vikkas wrote: ↑Fri Mar 08, 2024 1:08 am
Code: Select all
<img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"/>
Code: Select all
<style>
.Avatar {width:120px;height:120px;
border-radius: 50%;
border: 3px solid #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.Avatar:hover {
transform: scale(1.1);
transition: transform 0.3s ease-in-out;
}
</style>
<img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" />
Re: Is there a way?
Posted: Fri Mar 08, 2024 1:59 pm
by Victor 123
obaydulbc wrote: ↑Fri Mar 08, 2024 6:20 am
vikkas wrote: ↑Fri Mar 08, 2024 1:08 am
Code: Select all
<img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" style="width:120px;height:120px"/>
Code: Select all
<style>
.Avatar {width:120px;height:120px;
border-radius: 50%;
border: 3px solid #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.Avatar:hover {
transform: scale(1.1);
transition: transform 0.3s ease-in-out;
}
</style>
<img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://i.imgur.com/dZdaAAT.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar" />
Thanks @vikkas and @obay
Re: Is there a way?
Posted: Fri Mar 08, 2024 2:08 pm
by Victor 123
Please @anyone or @vikkas please where can I add the code for user link, cos the one you guys provided whenever a user post something and another user clicks on that user that posted something it doesn't display the users profile
Please if possible I need a full code that shows user's profile and name so when another person clicks on that user that posted something it takes him/her to the user's profile