PDA

View Full Version : topic post code ?


vBMerkezi
06-05-2012, 01:22 PM
Hello ,

In my hand [AJAX] DZMods Pro - Top has X plug-in. I could not find this add-in code by topic. what code I tried was the problem. Can you give me the code for this plug-in people to this topic now? This translation www.google.com / translate inaccuracies Forgive converted with the aid. For I do not know English

Thread Last Post code: $gthread [username]

Started by code: I could not find this code in add-on could you help?

T?rk?esi :

Konuda mevcut olan eklentiyi editliyorum. Konuyu yazan ve konuya son mesaj yazan kişilerin kodları lazım. konuya son mesaj yazan kişinin kodunu buldum kod : $gthread[username] şimdi bana konuyu a?an konuyu yazan kişinin kodu lazım. yardımlarınızı bekliyorum.

BirdOPrey5
06-05-2012, 01:42 PM
Perhaps someone who speaks Turkish and English can provide a better translation?

vBMerkezi
06-05-2012, 01:59 PM
I need code of 'Who's opened the topic'

Code is the last writer to thread : $gthread[username]

https://vborg.vbsupport.ru/external/2012/06/49.jpg

Simon Lloyd
06-05-2012, 03:07 PM
Im not sure what you want is it the $post[userid] or $post[username]

vBMerkezi
06-05-2012, 03:18 PM
unfortunately did not work

Simon Lloyd
06-05-2012, 03:32 PM
Like i said, i'm not sure what you want or what you're trying to do!

--------------- Added 1338914222 at 1338914222 ---------------

Look in that product for how they use the variables like $gthread[musername]

vBMerkezi
06-05-2012, 03:38 PM
https://vborg.vbsupport.ru/external/2012/06/49.jpg

Simon Lloyd
06-05-2012, 03:53 PM
Showing the picture yet again doesn't help in the slightest!

BirdOPrey5
06-05-2012, 04:56 PM
I need code of 'Who's opened the topic'

Code is the last writer to thread : $gthread[username]

https://vborg.vbsupport.ru/external/2012/06/49.jpg

I think he is saying "Code??" should be the username of the latest reply to the thread.

If it's available that should be: $gthread[lastposter]

vBMerkezi
06-06-2012, 08:17 AM
http://imagesturk.net/images/F3Bvk.jpg

I can not explain my problem, not knowing English

BirdOPrey5
06-06-2012, 09:20 AM
Try:

$gthread[postusername]

This is the username of the user who started the thread.

vBMerkezi
06-06-2012, 09:27 AM
This is the username of the user who started the thread. $gthread[postusername] no

BirdOPrey5
06-06-2012, 10:09 AM
Sorry, then I just don't know what you want.

The ONLY two userrnames available in thread are postusername and lastposter.

vBMerkezi
06-06-2012, 10:18 AM
http://imagesturk.net/images/mYkiO.jpg

BirdOPrey5
06-06-2012, 10:48 AM
Posting the same file and same image will not help.

You need to find someone who can give a better translation of what you want.

vBMerkezi
06-06-2012, 11:09 AM
please have a look at the documents that i attached. I would like to edit the statistics as writer of the topic and last message...the code of the last massage writer's is $gthread[lastposter] i need to have the code of the writer of the topic the codes that you have given to me does not work

BirdOPrey5
06-06-2012, 03:04 PM
This is the code that creates $gthreads, which each individual thread becomes $gthread:

$gthreads = $db->query_read("
SELECT
thread.forumid AS forumid, thread.visible,
thread.lastposter, thread.prefixid, thread.title, thread.threadid as threadid, thread.attach AS attach,
thread.taglist AS tag, thread.deletedcount AS deletedcount, thread.postusername, thread.postuserid, thread.dateline AS date, views AS views, thread.replycount AS reply, thread.lastposter,
forum.title_clean as forum_title, id, post.pagetext AS pagetext, post.postid, post.pagetext AS pagetext,
user.userid, user.username, user.usergroupid, icon.title AS icontitle, icon.iconpath,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "post AS post on (thread.firstpostid = post.postid)
LEFT JOIN " . TABLE_PREFIX . "forum AS forum on (thread.forumid = forum.forumid)
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = thread.postuserid)
LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON(icon.iconid = thread.iconid)
WHERE NOT ISNULL(thread.threadid)
$excludedforums AND thread.visible = 1 ORDER BY postid DESC LIMIT 0, $dzmmax");


The only usernames options for $gthread are:

$gthread[lastposter],
$gthread[postusername]

If it's not one of those it's not available.

vBMerkezi
06-06-2012, 03:27 PM
unfortunately did not :( :( :(

--------------- Added 1339071247 at 1339071247 ---------------

? ? ?

--------------- Added 1339077044 at 1339077044 ---------------

the codes are existing in the attachemenet.... But $gthread[lastposter], $gthread[postusername] are not working... $gthread[lastposter] this is the code of last message writer... I need to have the code of writer of the topic...

vBMerkezi
06-07-2012, 07:25 PM
the codes are existing in the attachemenet.... But $gthread[lastposter], $gthread[postusername] are not working... $gthread[lastposter] this is the code of last message writer... I need to have the code of writer of the topic...

borbole
06-07-2012, 07:39 PM
@vBMerkezi , please stop contacting me in private to help you with this. My signature is not for nothing. You are getting all the help here by BirdOPrey5.

Simon Lloyd
06-07-2012, 08:58 PM
Same here borbole!

vBMerkezi
06-07-2012, 09:38 PM
BirdOPrey5 unfortunately did not :( :( :(

the codes are existing in the attachemenet.... But $gthread[lastposter], $gthread[postusername] are not working... $gthread[lastposter] this is the code of last message writer... I need to have the code of writer of the topic...

Simon Lloyd
06-08-2012, 08:40 AM
I suggest you try and find the author of that modification.

vBMerkezi
06-08-2012, 10:40 AM
BirdOPrey5 ??

BirdOPrey5
06-08-2012, 05:03 PM
I don't know the answer or the question.

If $gthread[postusername] isn't working the mod author will have to fix it.

vBMerkezi
06-08-2012, 05:15 PM
How can correct? I do not know. Shared add-in could you help

Simon Lloyd
06-08-2012, 05:27 PM
How can correct? I do not know. Shared add-in could you helpEveryone has tried to help, you either have to contact the author of the mod because it remains his intellectual property or ask in paid or unpaid mods forum for someone to build you an add on to the mod to display the information yourself.

vBMerkezi
06-09-2012, 10:07 PM
subject to attachment address : https://vborg.vbsupport.ru/showthread.php?t=193412

The author : https://vborg.vbsupport.ru/member.php?u=277369

The author : Last Activity: 26 Jul 2009 19:19

Simon Lloyd
06-10-2012, 08:10 AM
Thats not reusable code and the mod is in the graveyard, that will be either because it has a serious flaw or because the author has requested it, so as i sadi your only option is to post in paid/unpaid modification forums to get someone to build an add-on for you to do what you want.

EDIT: It's in the graveyard because he reused someone elses code/modification and released it as his!

BirdOPrey5
06-10-2012, 11:23 AM
Try this plugin, this is from the real author: https://vborg.vbsupport.ru/showthread.php?t=194840

vBMerkezi
06-10-2012, 12:25 PM
do not support ajax :( https://vborg.vbsupport.ru/showthread.php?t=194840

SİMAR
06-10-2012, 12:48 PM
$user.username = thread.lastposter
denermisin tam olarak ne yapacagini aciklatamadin sanirim konuyu acikca net bir sekilde dile getirsen emin ol ki daha basit c?z?l?r transparan dada cok hata var

vBMerkezi
06-10-2012, 01:08 PM
bu verdiğin kod olmadı malesef. ilk mesajda aslında t?rk?e olarak anlatmak istedim ama bir kez daha mı anlatayım ?

--------------- Added 1339339690 at 1339339690 ---------------

$user.username = thread.lastposter
denermisin tam olarak ne yapacagini aciklatamadin sanirim konuyu acikca net bir sekilde dile getirsen emin ol ki daha basit c?z?l?r transparan dada cok hata var

verdiğin kod malesef ki olmuyor

--------------- Added 1339350626 at 1339350626 ---------------

Refresh

vBMerkezi
06-14-2012, 08:15 AM
I figured out the problem, thank you