vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   topic post code ? (https://vborg.vbsupport.ru/showthread.php?t=283978)

vBMerkezi 06-05-2012 01:22 PM

topic post code ?
 
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 [DATE]1338914222[/DATE] at [TIME]1338914222[/TIME] ---------------

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

Quote:

Originally Posted by vBMerkezi (Post 2336752)
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:

Code:

$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 [DATE]1339071247[/DATE] at [TIME]1339071247[/TIME] ---------------

? ? ?

--------------- Added [DATE]1339077044[/DATE] at [TIME]1339077044[/TIME] ---------------

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

Quote:

Originally Posted by vBMerkezi (Post 2337845)
How can correct? I do not know. Shared add-in could you help

Everyone 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

PHP Code:

$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 [DATE]1339339690[/DATE] at [TIME]1339339690[/TIME] ---------------

Quote:

Originally Posted by SİMAR (Post 2338425)
PHP Code:

$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 [DATE]1339350626[/DATE] at [TIME]1339350626[/TIME] ---------------

Refresh

vBMerkezi 06-14-2012 08:15 AM

I figured out the problem, thank you


All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01832 seconds
  • Memory Usage 1,802KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete