I didn't find a little part of the AJAX Mod

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

I didn't find a little part of the AJAX Mod

Beitrag von mariokaz »

Hello my dear friend oxpus!!! :D

Well I ask a little help to you with this. ¢¦

I updated the great AJAX Mod in my forum but I only didn't find a little part in the viewtopic.php file of the update instructions. :(

This is the part that I didn't find: ¦4

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------------ 
# 
viewtopic.php


# 
#-----[ FIND ]------------------------------------------------ 
# 
				'TOTAL_VOTES' => $vote_results_sum)
			);


# 
#-----[ REPLACE WITH ]---------------------------------------- 
# 
				'TOTAL_VOTES' => $vote_results_sum,
				
				'L_VIEW_BALLOT' => $lang['View_ballot'],
				'U_VIEW_BALLOT' => append_sid("viewtopic.$phpEx?". POST_TOPIC_URL ."=$topic_id&postdays=$post_days&postorder=$post_order"))
			);
			
			if (!$user_voted && !$poll_expired && $is_auth['auth_vote'] && ($forum_topic_data['topic_status'] != TOPIC_LOCKED))
			{
				$template->assign_block_vars('switch_view_ballot', array());
			}

But I find this in my viewtopic file: :p

Code: Alles auswählen

	$template->assign_vars(array( 
		'L_TOTAL_VOTES' => $lang['Total_votes'], 
		'TOTAL_VOTES' => $vote_results_sum, 
		'POLL_OPTION_CLOSE' => $poll_option_close, 
		'POLL_OPTION_DELETE' => $poll_option_delete) 
	);
So I don't know how I have to put that code of the update instructions in my file. :!:

Thanx for all ur help my friend! :lol:

Cheers. :)
Benutzeravatar
AmigaLink
Beiträge: 5843
Registriert: Mi 03.Mär, 2004 09:05
Wohnort: NRW
Kontaktdaten:

Beitrag von AmigaLink »

Do an update on the newest version of your phpBB plus and AJAX is already installed. ;)
[center].: Web Relax .::. Essen mit Freude .::. AmigaLink.de :.
______________________________________

Kein Support per PM, ICQ oder eMail!!!
[/center]
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Hi my friend Amigalink! :D

The problem my friend is that I have more or less 100 Mods installed in my Plus forum, so it will be very very very complicated for me update the Plus to the new version (1.53) ¦4, an example is that I change the Album that the Plus have for the Full Album Pack, so like you see I have also very modified my SQL tables and for that reason I can't update my Plus. :(

The thing that I don't know for the feature and I am a little worried about that because I have a little big forum, is in the next updates of the phpbb group what I will have to do when the updates exits because the Plus team will not give any support for the Plus 1.52 in the updates. :(

So in this moment can u help me with this ? :!:
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Replace

Code: Alles auswählen

	$template->assign_vars(array( 
		'L_TOTAL_VOTES' => $lang['Total_votes'], 
		'TOTAL_VOTES' => $vote_results_sum, 
		'POLL_OPTION_CLOSE' => $poll_option_close, 
		'POLL_OPTION_DELETE' => $poll_option_delete) 
	);
with

Code: Alles auswählen

	$template->assign_vars(array( 
		'L_TOTAL_VOTES' => $lang['Total_votes'], 
		'L_VIEW_BALLOT' => $lang['View_ballot'], 
		'TOTAL_VOTES' => $vote_results_sum, 
		'POLL_OPTION_CLOSE' => $poll_option_close, 
		'POLL_OPTION_DELETE' => $poll_option_delete),
		'U_VIEW_BALLOT' => append_sid("viewtopic.$phpEx?". POST_TOPIC_URL ."=$topic_id&postdays=$post_days&postorder=$post_order"))
	);

         if (!$user_voted && !$poll_expired && $is_auth['auth_vote'] && ($forum_topic_data['topic_status'] != TOPIC_LOCKED)) 
         { 
		$template->assign_block_vars('switch_view_ballot', array()); 
         }
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Hi again my friend!! :p

Well I did that but appears an error in my forum when I want to enter to any topic. ¦4

This one:

Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/mariocaz/public_html/inicio/viewtopic.php on line 1256

So I don't know what happen because I check very well that change and I did it well. :(

I attach here my file without the Mod so u can take a little look in there.

Thanx for everything.

[ Attachment gelöscht am Fr 19.Mai, 2006 20:43 von oxpus ]
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Sorry, I've forgotten to delete a closing bracket...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Jejeje don't worry! :p

Now Yes my friend, thanks a lot for all your preciate help like always. :D

Cheers. ;)
Antworten